Re: plperl/createlang issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plperl/createlang issue
Date: 2003-11-12 04:36:17
Message-ID: 5600.1068611777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> No matter what I try, I keep getting this error:
> $ createlang plperl template1
> ERROR: Load of file /opt/pgsql/installs/postgresql-7.3.4/lib/plperl.so
> failed: libperl.so: cannot open shared object file: No such file or
> directory

The error message probably does not mean what it appears to say.
The odds are that the "no such file" applies not to plperl.so itself,
but to some shared library that it depends on directly or indirectly
--- in other words, libperl.so or something that libperl depends on.
Unix dynamic loaders are *notoriously* bad about delivering useful
error messages in this sort of situation :-(

You probably need to fool with your ldconfig configuration to make
sure all of the needed libraries are in ldconfig's search path.
ldd is a useful tool for seeing how library references are being
resolved.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-11-12 04:57:43 Re: RHEL
Previous Message Bruce Momjian 2003-11-12 04:10:31 Re: Temp rows - is it possible?