Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Bob Friesenhahn
On Wed, 5 Mar 2014, Orion Poplawski wrote: Use ldconfig to generate sys_lib_dlsearch_path_spec so that internal library search paths as well as all /etc/ld.so.conf and /etc/ld.so.conf.d/*.conf entries are present. It seems unwise to use ldconfig output as authoritative information since ldcon

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Orion Poplawski
On 12/04/2014 10:51 AM, Gary V. Vaughan wrote: > Hi Orion, > >> On Aug 12, 2014, at 6:50 PM, Orion Poplawski wrote: >> >> Orion Poplawski cora.nwra.com> writes: >>> After almost 7 years, it would be really nice to get this fixed. Does this >>> help? >>> >>> From 9576fe6d88eb2f448b1e87422449bfc7

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Gary V. Vaughan
Hi Pavel, > On Dec 5, 2014, at 11:58 AM, Pavel Raiskup wrote: > > On Friday 05 of December 2014 10:56:28 Gary V. Vaughan wrote: >>> This really needs to be sorted out. >>> However this approach does not match the s390x at least. >> >> As in `case $host_cpu in *64*|s390x) ...` ? I can add that i

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Pavel Raiskup
On Friday 05 of December 2014 10:56:28 Gary V. Vaughan wrote: > > This really needs to be sorted out. > > However this approach does not match the s390x at least. > > As in `case $host_cpu in *64*|s390x) ...` ? I can add that if you'd like? That would be at least better :), but I would still need

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Gary V. Vaughan
Hi Pavel, > On Dec 5, 2014, at 10:07 AM, Pavel Raiskup wrote: > > On Thursday 04 of December 2014 17:51:28 Gary V. Vaughan wrote: >> Hi Orion, >> [...] >> Does this work for you? >> >> diff --git a/m4/libtool.m4 b/m4/libtool.m4 >> [...] >> + case $host_cpu in >> +# match at least x86_64, i

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec

2014-12-05 Thread Pavel Raiskup
On Thursday 04 of December 2014 17:51:28 Gary V. Vaughan wrote: > Hi Orion, > [...] > Does this work for you? > > diff --git a/m4/libtool.m4 b/m4/libtool.m4 > [...] > + case $host_cpu in > +# match at least x86_64, ia64, powerpc64* > +*64*) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 >