Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 01:01:30 +0100
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        Tom Lane <tgl@sss.pgh.pa.us>, 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:  <DE5FEEEA0379E3488516EDEE@palle.girgensohn.se>
In-Reply-To: <16124.1108164945@sss.pgh.pa.us>
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> <20050211220935.GB79170@heechee.tobez.org> <20050211222002.GC79170@heechee.tobez.org> <1108163489.10860.49.camel@lanshark.dmv.com> <16124.1108164945@sss.pgh.pa.us>

next in thread | previous in thread | raw e-mail | index | archive | help


--On fredag, februari 11, 2005 18.35.45 -0500 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> Sven Willenberger <sven@dmv.com> writes:
>> it looks like the sed line is stripping out pgac_tmp2 from the pgac_tmp1
>> leaving the system to use the default perl libperl.so.
>> when I modified perl_embed_ldflags to not remove the -R line, the
>> compile works and links to the proper libperl.so
>
> It worked for you, but not necessarily for other people.  This thread
> may be instructive:
> http://archives.postgresql.org/pgsql-bugs/2004-11/msg00181.php
>
> 			regards, tom lane

Instructive indeed, but it has no suggestion for how to fix this? It is not 
quite true that this code has lived over two releas cycles without 
complaints, because there have been som whining about it. In the case of 
FreeBSD specifically, I doubt ppl will use anything but gcc, so we would 
probably not need the sed line that removes ccdlflags, we could just opt it 
out with a port's patch, I guess?

Something like 
<http://archives.postgresql.org/pgsql-bugs/2004-11/msg00181.php>; would 
probably work well for the FreeBSD port? Correct me I'm wrong.

/Palle



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE5FEEEA0379E3488516EDEE>