pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedperl 5.6.1 and PostgreSQL7.3.2
2+ messages / 2 participants
[nested] [flat]
* perl 5.6.1 and PostgreSQL7.3.2
@ 2003-03-21 17:56 Jie Liang <jliang@ipinc.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jie Liang @ 2003-03-21 17:56 UTC (permalink / raw)
To: pgsql-admin; tobez@FreeBSD.org; pgsql-hackers-request@postgresql.org
I tried to use perl 5.6.1+ on PL/Perl, even though I successfully
created libperl.so file and get compile done(gmake no complaint), but I
still failed at load. Following is my steps:
(OS: FreeBSD-4.7, PostgreSQL 7.3.2, Perl 5.6.1)
cd /usr/ports/lang/perl5
make
cd work/perl-5.6.1
LD_LIBRARY_PATH=`pwd`
export LD_LIBRARY_PATH
sh Configure -Duseshrplib
For every question, I take the default, except:
Build a shared libperl.so (y/n) [n] y
What name do you want to give to the shared libperl? [libperl.a]
libperl.so.5.6.1
after that
make
make test
make install
(perl 5.6.1 executable is installed at /usr/local/bin/)
make a symbolic like with libperl.so->libperl.so.5.6.1
which is under /usr/local/lib/perl5/5.6.1/mach/CORE/
then install postgresql
gmake
gmake install
(no complaint at all)
initdb
start postmaster
createlang plperl template1 (compliant)
EERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: dlopen
'/usr/local/pgsql/lib/plperl.so' failed.
(/usr/local/pgsql/lib/plperl.so: Undefined symbol "Perl_sv_2pv_flags")
ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: dlopen
'/usr/local/pgsql/lib/plperl.so' failed.
(/usr/local/pgsql/lib/plperl.so: Undefined symbol "Perl_sv_2pv_flags")
createlang: language installation failed
What's wrong?
--
Jie LIANG
Software Engineer
St. Bernard Software
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@stbernard.com
www.stbernard.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: perl 5.6.1 and PostgreSQL7.3.2
@ 2003-03-21 18:37 Tom Lane <tgl@sss.pgh.pa.us>
parent: Jie Liang <jliang@ipinc.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2003-03-21 18:37 UTC (permalink / raw)
To: Jie Liang <jliang@ipinc.com>; +Cc: pgsql-admin; tobez@FreeBSD.org; pgsql-hackers-request@postgresql.org
Jie Liang <jliang@ipinc.com> writes:
> EERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: dlopen
> '/usr/local/pgsql/lib/plperl.so' failed.
> (/usr/local/pgsql/lib/plperl.so: Undefined symbol "Perl_sv_2pv_flags")
You sure plperl was compiled against the same version of Perl you're
using? The Perl binary API does vary depending on your version and
compilation options ...
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-03-21 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21 17:56 perl 5.6.1 and PostgreSQL7.3.2 Jie Liang <jliang@ipinc.com>
2003-03-21 18:37 ` Tom Lane <tgl@sss.pgh.pa.us>
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