Re: plperl.so

From: Darren Ferguson <darren(at)crystalballinc(dot)com>
To: Cindy <ctmoore(at)uci(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plperl.so
Date: 2002-09-16 23:06:24
Message-ID: Pine.LNX.4.44.0209161904390.16410-100000@thread.crystalballinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • plperl.so at 2002-09-16 22:42:57 from Cindy

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2002-09-16 23:07:21 Re: Performance again
Previous Message Stephan Szabo 2002-09-16 22:43:15 Re: Performance again