Re: databases/p5-postgresql-plperl links to wrong - Mailing list pgsql-general

From Palle Girgensohn
Subject Re: databases/p5-postgresql-plperl links to wrong
Date
Msg-id DE5FEEEA0379E3488516EDEE@palle.girgensohn.se
Whole thread Raw
In response to Re: databases/p5-postgresql-plperl links to wrong libperl.so  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

--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


pgsql-general by date:

Previous
From: benjamin jacob
Date:
Subject: data duplication
Next
From: Palle Girgensohn
Date:
Subject: Re: databases/p5-postgresql-plperl links to