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
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: plperl again but different problem
Date: 2005-09-13 16:37:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Dnia wtorek, 13 września 2005 17:24, Tom Lane napisał:
> Marcin Giedz <marcin(dot)giedz(at)eulerhermes(dot)pl> writes:
> >> createlang: language installation failed: ERROR:  could not load library
> >> "/usr/local/postgresql-8.0.3/lib/":
> >> /usr/local/postgresql-8.0.3/lib/ undefined symbol: Perl_croak
> I think you've got some kind of mismatch between the compilation options
> for Perl proper and those for plperl.  IIRC, Perl can spell its exported
> function names in several different ways (eg, with or without the Perl_
> prefix).  It looks like plperl is expecting a different convention than
> what the file was actually built with.
> Use ldd on to double check which libperl it's trying to link
> to.  Double check that the Perl header files you compiled plperl against
> came from the same Perl build that produced

pgsql2-test:/usr/src/postgresql-snapshot/src/pl/plperl# ldd => /lib/tls/ (0xb7fc7000) => /lib/tls/ (0xb7fa4000) => /lib/tls/ (0xb7f95000) => /lib/tls/ (0xb7e60000) => /lib/tls/ (0xb7e33000)
        /lib/ => /lib/ (0x80000000)

I don't see any :( But doesn't plperl use shared libperl library? 
"....libperl must have been built as a shared library, which is usually not 
the case in standard installations..." taken from README file

I've changed configure script and put PERL variable as 
PERL=/usr/local/perl/bin/perl - so all things related to perl where taken 
from this place.

> 			regards, tom lane
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

In response to


pgsql-admin by date

Next:From: Tom LaneDate: 2005-09-13 17:14:10
Subject: Re: plperl again but different problem
Previous:From: Tom LaneDate: 2005-09-13 16:31:03
Subject: Re: ERROR: canceling query due to user request

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