| From: | "turing2000" <turing2000(at)mail(dot)ru> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | |
| Date: | 2000-11-16 10:38:07 |
| Message-ID: | E13wMQV-000FC6-00@f9.mail.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Please, help me.
I configure/compile perl with option ( other options stay default ):
./Configure -Dprefix=/usr/local/perl -Duseshrplib
make
make install
I add string '/usr/local/perl/lib/5.6.0/i686-linux/CORE'
in file /etc/ld.so.conf and call program 'lddconfig'.
Environment:
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/perl/lib/5.6.0/i686-linux/CORE
All is OK for perl. But in psql:
\c db_name
create function perl_hnd() returns opaque as'
/usr/local/perl/lib/5.6.0/i686-linux/CORE/libperl.so' language 'C';
create trusted procedural language 'perl'
handler perl_hnd lancompiler 'perlcompiler';
create function f( int4, int4 ) returns int4 as'
return $_[0] + $_[1]; 'language 'perl';
db_name=> select f(2,2);
ERROR: Can't find function perl_hnd in file
/usr/local/perl/lib/5.6.0/i686-linux/CORE/libperl.so
Please, help me!
turing2000
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Liebman | 2000-11-16 10:40:56 | Re: Some workds about version info |
| Previous Message | Marc Poinot | 2000-11-16 08:17:43 | Re: Newbie: pg_hba.conf question |