libtool
[Top][All Lists]
Advanced

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

Re: hwcap 0 nosegneg in FC6 ld.so.cache


From: Peter O'Gorman
Subject: Re: hwcap 0 nosegneg in FC6 ld.so.cache
Date: Sat, 23 Jun 2007 13:14:43 -0500

On Sat, 2007-06-23 at 14:45 +0000, Olly Betts wrote:

> -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 
> 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < 
> /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,     ]/ /g;s/=[^=]*$//;s/=[^= ]* / 
> /g;/^$/d' | tr '\n' ' '`
> -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
> +  # Extract search path from ldconfig
> +  ldconfig_search_path=`/sbin/ldconfig -N -X -v 2>/dev/null|sed 
> 's,^\(/.*\):\( (.*)\)\?$,\1,p;d'`
> +  if test -n "$ldconfig_search_path"; then
> +    sys_lib_dlsearch_path_spec=$ldconfig_search_path
>    fi

/sbin/ldconfig -N -X -v takes quite a while on my system, but it does
seem to provide true results. Might be a good solution, thanks.

Peter




reply via email to

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