Re: databases/p5-postgresql-plperl links to wrong

From: Palle Girgensohn <girgen(at)FreeBSD(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Sven Willenberger <sven(at)dmv(dot)com>
Cc: Anton Berezin <tobez(at)freebsd(dot)org>, freebsd-ports(at)freebsd(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: databases/p5-postgresql-plperl links to wrong
Date: 2005-02-12 00:01:30
Message-ID: DE5FEEEA0379E3488516EDEE@palle.girgensohn.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--On fredag, februari 11, 2005 18.35.45 -0500 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
wrote:

> Sven Willenberger <sven(at)dmv(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sven Willenberger 2005-02-12 00:08:54 Re: databases/p5-postgresql-plperl links to wrong
Previous Message Tom Lane 2005-02-11 23:39:30 Re: file descriptors