[Bug 40214] Re: ld checks for libs in wrong order. it should be inline with ld.so and check configured folders first.

Bug Watch Updater 40214 at bugs.launchpad.net
Thu Jun 3 21:53:14 UTC 2021


** Changed in: binutils
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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



More information about the foundations-bugs mailing list