From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marcin Giedz <marcin.giedz@eulerhermes.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: plperl again but different problem
Date: Tue, 13 Sep 2005 11:24:17 -0400
Message-ID: <23418.1126625057@sss.pgh.pa.us> (raw)
In-Reply-To: <200509131431.16634.marcin.giedz@eulerhermes.pl>
References: <200509131418.02818.marcin.giedz@eulerhermes.pl>
<200509131431.16634.marcin.giedz@eulerhermes.pl>
Marcin Giedz <marcin.giedz@eulerhermes.pl> writes:
>> 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
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 libperl.so file was actually built with.
Use ldd on plperl.so 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 libperl.so.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, marcin.giedz@eulerhermes.pl
Subject: Re: plperl again but different problem
In-Reply-To: <23418.1126625057@sss.pgh.pa.us>
References: <200509131418.02818.marcin.giedz@eulerhermes.pl> <200509131431.16634.marcin.giedz@eulerhermes.pl> <23418.1126625057@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox