PlPERL and shared libraries on Suse - Mailing list pgsql-general

From Eric E
Subject PlPERL and shared libraries on Suse
Date
Msg-id 41793198.60608@bonbon.net
Whole thread Raw
Responses Re: PlPERL and shared libraries on Suse  (Steve Atkins <steve@blighty.com>)
Re: PlPERL and shared libraries on Suse  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi,
    I have an installation of Postgres 7.4.2 on SuSE 9.1.  This version
of SuSE comes with a binary for plperl and several other postgres
procedural languages.  All the others, including plpgsql install without
a problem, but executing:
    createlang -u postgres plperl template1
produces the result:
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

The file, however, is there:

# ls -l /usr/lib/postgresql/plperl.so
-rwxr-xr-x  1 root root 37097 Apr  5  2004 /usr/lib/postgresql/plperl.so

Some googling gave me the idea that it may be a problem with the way
perl was compiled - i.e, perl is not compiled for shared libraries.  Can
anyone confirm this?  If so, do I need to rebuild perl, or pl/perl, or
both?  Are there any binaries that can resolve this?  (yes not wanting
to compile plperl is plain old laziness, but I do have reservations
about recompiling the perl interpreter)

Any ideas would be helpful.

Thanks,

Eric

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: correct example of a functional index usage?
Next
From: Jan Wieck
Date:
Subject: Re: [Slony1-general] Re: Slony-I 1.0.4 Released