Launchpad has imported 4 comments from the remote bug at
http://sourceware.org/bugzilla/show_bug.cgi?id=2589.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2006-04-20T12:22:29+00:00 J-bootlab wrote:

i ran into a problem while working on a shared libaray
and trying to compile some programs without explicit 
linking of the lib dependencies. 
the problem was that while ld.so / ldd would pick up
the lib that was in /usr/local/lib (as configured in /etc/ld.so.conf);
ld would try to link to the on in /usr/lib.

checking in the man pages, indeed ld and ld.so search for libraries
in a diffrent order. imho this is broken and ld should check
 /etc/ld.so.conf before checking in /usr/lib and /lib

man ld.so
lists the order to look for libs as:
 LD_LIBRARY_PATH
 /etc/ld.so.cache
 /usr/lib
 /lib

while 'man ld' lists:
 LD_LIBRARY_PATH
 The default directories, normally /lib and /usr/lib.
 /etc/ld.so.conf

Reply at: https://bugs.launchpad.net/binutils/+bug/40214/comments/2

------------------------------------------------------------------------
On 2006-04-20T13:12:52+00:00 Alan Modra wrote:

Already fixed mainline and 2.17 branch.

Reply at: https://bugs.launchpad.net/binutils/+bug/40214/comments/3

------------------------------------------------------------------------
On 2006-05-08T13:01:51+00:00 Matthias Klose wrote:

Created attachment 1007
document the ldsearch change

The change in the search path is mentioned in the NEWS file, but not in the
docs.

Reply at: https://bugs.launchpad.net/binutils/+bug/40214/comments/8

------------------------------------------------------------------------
On 2006-05-08T13:02:30+00:00 Matthias Klose wrote:

The change in the search path is mentioned in the NEWS file, but not in the
docs.

Reply at: https://bugs.launchpad.net/binutils/+bug/40214/comments/9


** Changed in: binutils
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs/40214

Title:
  ld checks for libs in wrong order. it should be inline with ld.so and
  check configured folders first.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to