plperl.so - Mailing list pgsql-general

From Cindy
Subject plperl.so
Date
Msg-id 338.1032216177@attalus2.tlg.uci.edu
Whole thread Raw
Responses Re: plperl.so  (Darren Ferguson <darren@crystalballinc.com>)
List pgsql-general
OK, so I've given up on our 7.0.3 installation and I'm looking at the 7.2 one
that we have.

I know it was compiled with "with-perl" on.

The ...src/pl/plperl directory looks like this:

> ls -l
total 184
-rw-r--r--   1 nishad   other        754 Sep 16  2001 GNUmakefile
-rw-r--r--   1 nishad   other      17459 Aug 16 14:21 Makefile
-rw-r--r--   1 nishad   other       2317 Aug 26  2001 Makefile.PL
-rw-r--r--   1 nishad   other        440 Dec 19  2000 README
-rw-r--r--   1 nishad   other       2402 Aug 16 14:21 SPI.c
-rw-r--r--   1 nishad   other       7396 Aug 16 14:21 SPI.o
-rw-r--r--   1 nishad   other       1211 Jun  8  2001 SPI.xs
drwxr-xr-x   4 nishad   other        512 Aug 16 14:21 blib/
-rw-r--r--   1 nishad   other        325 Jun  8  2001 eloglvl.c
-rw-r--r--   1 nishad   other         78 Jun  8  2001 eloglvl.h
-rw-r--r--   1 nishad   other       2008 Aug 16 14:21 eloglvl.o
-rw-r--r--   1 nishad   other          0 Aug 16 14:21 plperl.bs
-rw-r--r--   1 nishad   other      24021 Jan 24  2002 plperl.c
-rw-r--r--   1 nishad   other      18468 Aug 16 14:21 plperl.o
-rw-r--r--   1 nishad   other          0 Aug 16 14:21 pm_to_blib
-rw-r--r--   1 nishad   other       7519 Nov  5  2001 ppport.h


and

> ls /usr/local/pgsql/lib
libecpg.a             libpq++.a             libpsqlodbc.a
libecpg.so@           libpq++.so@           libpsqlodbc.so@
libecpg.so.3@         libpq++.so.4@         libpsqlodbc.so.0@
libecpg.so.3.3.0*     libpq++.so.4.0*       libpsqlodbc.so.0.27*
libpgeasy.a           libpq.a               plperl.so*
libpgeasy.so@         libpq.so@             plpgsql.so*
libpgeasy.so.2@       libpq.so.2@
libpgeasy.so.2.2*     libpq.so.2.2*

Bear in mind
> uname -a
SunOS stephanus 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-4

(some of the comments imply that linux would get .so extensions,
but others might not, though I note we seem to have a plperl.so
in the lib.)

But:

> createlang plperl Text
ERROR:  stat failed on file '$libdir/plperl': No such file or directory
createlang: language installation failed


...and no, I'm not prepared to use python :-).  The function I
have in mind is very simple since I do know perl quite well...

Thanks for all the help so far,
--Cindy
--
ctmoore@uci.edu

pgsql-general by date:

Previous
From: Garo Hussenjian
Date:
Subject: Re: currval question
Next
From: Stephan Szabo
Date:
Subject: Re: Performance again