The master branch has been updated by Alan Modra
<amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-
gdb.git;h=364d77297723712a2952072fd6768601f17070bd

commit 364d77297723712a2952072fd6768601f17070bd
Author: Alan Modra <amo...@gmail.com>
Date:   Thu Jun 3 18:32:30 2021 +0930

    PR2589, ld vs. ld.so
    
            PR 2589
            * ld.texi (link-time runtime library search path): Mention
            plugin library path.  Correct order of search.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
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.

Status in binutils:
  Fix Released
Status in binutils package in Ubuntu:
  Fix Released

Bug description:
  if one installs a new version of a lib to /usr/local/lib and has
  an old version from the system in /usr/lib

  linking fails with gcc. it tries to link the version in /usr/lib

  removing the version from /usr/lib, linking works.

  ldd shows the right version in /usr/local/lib

  since the version of libtool in ubuntu does not include 
  dependency_libs from the .la file,  one has to specify the dependency libs 
manualy or remove the libs from /usr/lib;

  both merly workarounds that i dont want to use upstream.

  not sure what the right place for this bug is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/40214/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to