[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] add /usr/X11R6/lib and /usr/local/lib to Linux sys_lib_dlsea
From: |
Scott James Remnant |
Subject: |
Re: [PATCH] add /usr/X11R6/lib and /usr/local/lib to Linux sys_lib_dlsearch_path_spec |
Date: |
Fri, 31 Oct 2003 20:02:47 +0000 |
On Fri, 2003-10-31 at 17:32, Bob Friesenhahn wrote:
> Lets take ImageMagick as a sample package. This is often delivered
> with libraries under /usr/X11R6/lib since it is seen to be an X11
> application. However, if a user configures and builds from source,
> the default installation prefix puts the libraries in /usr/local/lib.
> Does your patch increase the risk that the wrong shared library will
> be used (searching /usr/X11R6/lib before /usr/local/lib)?
>
This doesn't actually effect the searching of libraries at all (from a
libtool point of view), the only thing this variable is used for inside
ltmain.sh is to decide whether to RPATH or not.
I deliberately put /usr/X11R6/lib before /usr/local/lib because that's
consistent with the ld.so.conf of every Linux distro I could get my
hands on.
It could increase the likely-hood on the basis that the libraries aren't
RPATHed anymore, but that's the same situation as /usr/lib, and I think
on Linux these should be in that game too.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part