|
|
 | | From: | Iain | | Subject: | Re: Problem with pl/perl in postgresql | | Date: | Wed, 19 Jan 2005 12:28:01 +0900 |
|
|
 | I just had a similar problem, but your solution (as posted anyway) didn't work for me.
My system is RHEL3 and the libperl.so file is in the path as you specified. Postgres is 7.4.6 from the source tar file.
In the end, I did (as root)
# cp /usr/lib/perl5/5.8.0//i386-linux-thread-multi/CORE/libperl.so /usr/lib
# ldconfig
and it was fine after that, I didn't need to rebuild postgres.
From reading the manual, I thought that using :
ldconfig /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so or maybe ldconfig -l /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
should have worked, but calling ldconfig -p | grep perl showed that the lib wasn't included.
Regards Iain
>>>>>Hello,
I think I got it installed. I did have have libperl.so but for some reason it wasn't being picked up by ld.so.conf.
So I: ldconfig /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
Then I rebuilt the postgresql srpm. And I was able to do: createlang plperl test
And it worked.
Thanks to everyone that replied.
Robert Boone
<<<<<
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
|
|
|