Date: Fri, 11 Feb 2005 18:09:14 -0500 From: Tom Lane <tgl@sss.pgh.pa.us> To: Sven Willenberger <sven@dmv.com> Cc: Anton Berezin <tobez@freebsd.org> Subject: Re: [GENERAL] databases/p5-postgresql-plperl links to wrong libperl.so Message-ID: <15868.1108163354@sss.pgh.pa.us> In-Reply-To: <1108158115.10863.40.camel@lanshark.dmv.com> References: <1108135462.10866.12.camel@lanshark.dmv.com> <510442EEF15A0237A0138D49@rambutan.pingpong.net> <1108138215.10866.20.camel@lanshark.dmv.com> <20050211203503.GA79170@heechee.tobez.org> <1108158115.10863.40.camel@lanshark.dmv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sven Willenberger <sven@dmv.com> writes: >> 2. _Or_ plperl does not go all the way to be a conformant perl-embedding >> application. It looks at $Config{archlibexp}, but it does not follow >> directions described in perlembed(1). In this case it's linking >> should be fixed to respect that. You probably want to stick an rpath into the plperl.so library. PG 8.0 does that by default, but for 7.4 I recommend something like this: RCS file: /projects/cvsroot/pgsql-server/src/pl/plperl/GNUmakefile,v retrieving revision 1.10 diff -r1.10 GNUmakefile 18c18 < override CFLAGS := $(filter-out -Wall -Wmissing-declarations -Wmissing-prototypes, $(CFLAGS)) --- > override CFLAGS := $(filter-out -Wall -Wmissing-declarations -Wmissing-prototypes, $(CFLAGS), -Wl,-rpath,$(perl_archlibexp)/CORE) (The above is taken from the Red Hat RPMs and is known to work on Linux, but I can't swear that it works on any other platform.) regards, tom lane
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15868.1108163354>