[Top][All Lists]

[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 contents to the search path

 Scott> +  if test -f /etc/; then

 Scott> +    sys_lib_dlsearch_path_spec="/lib /usr/lib "`cat /etc/`


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

|   Some  existing  libs  do  not  contain  enough information to allow the
|   deduction of their type,  therefore  the  /etc/  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/     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]