My opinion (if it's worth anything) is that a binary should not specify
search paths for libraries other than those explicitly provided with it as
part of its own package.
The environment should handle shared library paths, using $LD_PATH or
ldconfig or whatever. If a binary has to specify where i
On Mon, Aug 13, 2018 at 11:16:23AM -0400, Tom Lane wrote:
> Well, the issue is that new kinds of switches introduce new potential
> for bugs. In the case of -Wl,-R..., I'm not even sure that you can
> write that more than once per link, so absorbing one from xml2-config
> might well break things o
[Quoting out of order.]
On Mon, Aug 13, 2018 at 11:16:23AM -0400, Tom Lane wrote:
> Robert Haas writes:
>
> I'm not, personally, eager to do that work for a requirement which
> somehow hasn't surfaced on any other platform, nor on any previous
> NetBSD release. I think NetBSD is way out in left
Robert Haas writes:
> On Sat, Aug 11, 2018 at 1:18 PM, Tom Lane wrote:
>> We could fix this by teaching configure to absorb -Wl,-R... switches
>> into LDFLAGS from xml2-config's output, and that seems to make things
>> work, but I wonder whether we should or not. This seems like a new height
>>
On Sat, Aug 11, 2018 at 1:18 PM, Tom Lane wrote:
> We could fix this by teaching configure to absorb -Wl,-R... switches
> into LDFLAGS from xml2-config's output, and that seems to make things
> work, but I wonder whether we should or not. This seems like a new height
> of unfriendliness to non-de
On 2018-08-12 01:32, Andrew Dunstan wrote:
OpenBSD-6.3's "xml2-config --libs" doesn't contain any rpath settings,
it's pretty much like the one on my (fairly old) FBSD machine, as you
describ4ed above.
Just FYI!
My bf-animal curculio that runs OpenBSD 5.9 shows the following:
$ xml2-config
On 08/11/2018 01:18 PM, Tom Lane wrote:
In a moment of idle curiosity, I tried to build PG --with-libxml
on NetBSD-current (well, mostly current, from May or so).
The configure script blew up, complaining that it couldn't execute
a test program. Investigation showed that xml2-config reports t
On Sat, Aug 11, 2018 at 01:12:09PM -0500, Nico Williams wrote:
> I'm willing to write a patch after lunch. In ./configure.in this:
>
> for pgac_option in `$XML2_CONFIG --libs`; do
> case $pgac_option in
> -L*) LDFLAGS="$LDFLAGS $pgac_option";;
> esac
> done
>
> should
On Sat, Aug 11, 2018 at 01:18:26PM -0400, Tom Lane wrote:
> In a moment of idle curiosity, I tried to build PG --with-libxml
> on NetBSD-current (well, mostly current, from May or so).
> The configure script blew up, complaining that it couldn't execute
> a test program. Investigation showed that
In a moment of idle curiosity, I tried to build PG --with-libxml
on NetBSD-current (well, mostly current, from May or so).
The configure script blew up, complaining that it couldn't execute
a test program. Investigation showed that xml2-config reports this:
$ xml2-config --libs
-Wl,-R/usr/pkg/lib
10 matches
Mail list logo