Re: plperl.so - Mailing list pgsql-general

From Darren Ferguson
Subject Re: plperl.so
Date
Msg-id Pine.LNX.4.44.0209161904390.16410-100000@thread.crystalballinc.com
Whole thread Raw
In response to plperl.so  (Cindy <ctmoore@uci.edu>)
List pgsql-general
Does your $libdir have /usr/local/pgsql/lib in it.

I did the createlang for plpython and since it was not in this libdir
where python was it returned the error you are getting

Try setting libdir as follows

LIBDIR = /usr/local/pgsql/lib:$LIBDIR

This may help

Darren

On Mon, 16 Sep 2002, Cindy wrote:

>
> 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
>

--
Darren Ferguson


pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Performance again
Next
From: Glen Eustace
Date:
Subject: Re: Panic - Format has changed