Re: plperl again but different problem - Mailing list pgsql-admin

From Marcin Giedz
Subject Re: plperl again but different problem
Date
Msg-id 200509131701.32727.marcin.giedz@eulerhermes.pl
Whole thread Raw
In response to plperl again but different problem  (Marcin Giedz <marcin.giedz@eulerhermes.pl>)
Responses Re: plperl again but different problem
List pgsql-admin
Dnia wtorek, 13 września 2005 14:42, Sergiusz Jarczyk napisał:
> Hi Marcin
>
> Marcin Giedz napisał(a):
> >Hello..
> >
> >I've installed plperl.so in postgresql lib directory but when I try to
> > create lang, such error occures:
> >
> >pgsql2-test:~# su pgadmin
> >pgadmin@pgsql2-test:/root$ /usr/local/postgresql/bin/createlang -p 5433
> >plperlu pl
> >createlang: language installation failed: ERROR:  could not load library
> >"/usr/local/postgresql-8.0.3/lib/plperl.so":
> > /usr/local/postgresql-8.0.3/lib/plperl.so: undefined symbol: Perl_croak
> >pgadmin@pgsql2-test:/root$
> >
> >I've even compiled perl from sources but still have this error. What's
> > going on?
>





> If you have both Perl installed (from distro and compiled from the
> source), it's mostly the problem of the wrong
> libperl.so used by Postgres, i.e. it uses not the one it was compiled
> with...

No... I simply removed the old one taken from deb I have only one - new
installed from sources.

Marcin

>
> Sergiusz

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: ERROR: canceling query due to user request
Next
From: Marcin Giedz
Date:
Subject: Re: plperl again but different problem