Skip site navigation (1) Skip section navigation (2)

Re: plperl again but different problem

From: Marcin Giedz <marcin(dot)giedz(at)eulerhermes(dot)pl>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: plperl again but different problem
Date: 2005-09-13 15:17:55
Message-ID: 200509131717.55886.marcin.giedz@eulerhermes.pl (view raw or flat)
Thread:
Lists: pgsql-admin
Dnia wtorek, 13 września 2005 17:01, Marcin Giedz napisał:

Additional info: I've also checked plperl with postgresql snapshot - problem 
still exists ;( - 

didn't anyone have something similar? or maybe I'm only one who uses Sarge 
3.1? :D:D

Marcin


> 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(at)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(at)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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2005-09-13 15:24:17
Subject: Re: plperl again but different problem
Previous:From: Tom LaneDate: 2005-09-13 15:10:07
Subject: Re: Log file Query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group