| From: | Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca> |
|---|---|
| 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 14:01:04 |
| Message-ID: | 1068645663.879.3.camel@mafalda.murtagh.name |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, 2003-11-11 at 21:22, Ed L. wrote:
> $ 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
> createlang: language installation failed
I had the exact problem recently, and I found the solution.
1) First, locate your libperl.so file. On my PPC box it was:
[chris(at)mafalda chris]$ locate libperl.so
/usr/lib/perl5/5.8.0/ppc-linux-thread-multi/CORE/libperl.so
2) Add that directory to /etc/ld.so.conf
3) run ldconfig (as root)
Then your creatlang statement should work.
Hope that helps.
Cheers,
Chris
> But it sure looks like its there to me:
>
> $ ls -l /opt/pgsql/installs/postgresql-7.3.4/lib/plperl.so
> -rwxr-xr-x 1 pg pg 35770 Nov 11 19:39
> /opt/pgsql/installs/postgresql-7.3.4/lib/plperl.so*
>
> I *think* my perl is threaded based on perl -v:
>
> $ perl -v
>
> This is perl, v5.8.0 built for i386-linux-thread-multi
> ...
>
> Any clues for the clueless?
>
> TIA.
>
> Ed
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-11-12 15:10:06 | Re: multibyte support |
| Previous Message | Hans-Jürgen Schönig | 2003-11-12 13:08:23 | Re: [HACKERS] Proposal for a cascaded master-slave replication system |