libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec


From: Pavel Raiskup
Subject: Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec
Date: Fri, 05 Dec 2014 11:07:10 +0100
User-agent: KMail/4.14.3 (Linux/3.17.3-200.fc20.x86_64; KDE/4.14.3; x86_64; ; )

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 
> $sys_lib_dlsearch_path_spec" ;;
> +  esac

Hi Gary, thanks a lot for the patch!  This really needs to be sorted out.
However this approach does not match the s390x at least.  Until ldconfig
gives us correct (and fast) list of real directories, could we do some
better heuristic?  I mean something like if the architecture is really
64bit (check during configure time perhaps), or check for
{/usr/lib64,/lib64} existence?  Or hardcode that unconditionally (Fedora
does that from 2009 and AFAIK there have been no complains since then).

Pavel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]