--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> CSN <cool_screen_name90001@yahoo.com> writes:
> > createlang: language installation failed: ERROR:
> > could not load library
> > "/usr/lib/postgresql/plperl.so": libperl.so:
> cannot
> > open shared object file: No such file or directory
>
> Notice it's complaining about libperl.so, not
> plperl.so.
>
> This is probably because libperl.so isn't in your
> ldconfig search path.
> Before PG 8.0 it's necessary to add the directory
> where Perl keeps that
> file to your ldconfig configuration.
>
> If you *are* using 8.0, then please explain exactly
> what platform
> you're on and what your Perl installation is.
>
> regards, tom lane
Yeah, I did 'ln
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/libperl.so' and 'createlang plperl dbname'
worked without complaining (I should probably use
ldconfig instead). I'm using 7.4.7 (will probably
upgrade to 8.x pretty soon).
CSN
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com