libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH (the *proper* one this time)] add /usr/X11R6/lib and /usr/loc


From: Alexandre Duret-Lutz
Subject: Re: [PATCH (the *proper* one this time)] add /usr/X11R6/lib and /usr/local/lib to Linux sys_lib_dlsearch_path_spec
Date: Mon, 03 Nov 2003 08:15:59 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Scott" == Scott James Remnant <address@hidden> writes:
[...]
 Scott> +  # Append ld.so.conf contents to the search path

 Scott> +  if test -f /etc/ld.so.conf; then

 Scott> +    sys_lib_dlsearch_path_spec="/lib /usr/lib "`cat /etc/ld.so.conf`

[...]

Shouldn't you handle `=', `:', and `,' properly?

ldconfig(8):
[...]
|   Some  existing  libs  do  not  contain  enough information to allow the
|   deduction of their type,  therefore  the  /etc/ld.so.conf  file  format
|   allows  the  specification  of an expected type.  This is only used for
|   those ELF libs which we can not work  out.  The  format  is  like  this
|   "dirname=TYPE",  where type can be libc4, libc5 or libc6.  (This syntax
|   also works on the command line).  Spaces are not allowed. Also see  the
|   -p option.
[...]
|   /etc/ld.so.conf     File  containing  a list of colon, space, tab, new-
|                       line, or comma spearated directories  in  which  to
|                       search for libraries.
[...]

-- 
Alexandre Duret-Lutz





reply via email to

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