Public bug reported:

Binary package hint: binutils

Try this example with latest maverick

gcc -c -o a.o -fPIC -x c /dev/null

ld -shared a.o -lc

ld: cannot find -lc

This use to link successfully and works ok on Lucid. It started
happening with latest update so I believe it could be one of the
following

binutils (2.20.51.20100710-1ubuntu1) maverick; urgency=low

  * Update HJ patches from binutils 2.20.51.0.10.

 -- Matthias Klose <d...@ubuntu.com>  Sat, 10 Jul 2010 11:42:27 +0200

binutils (2.20.51.20100710-1) experimental; urgency=low

  * Snapshot, taken from the trunk 20100710.
    - Fix PR gas/10531. LP: #599485.
  * debian/rules: Introduce PF macros (Jim Heck). Closes: #588357.

  [ Marcin Juszkiewicz ]
  * Don't install documentation files in -cross packages.  Closes: #586636.
  * Set sysroot to /usr/$(TARGET) for cross builds. LP: #598389.

 -- Matthias Klose <d...@debian.org>  Sat, 10 Jul 2010 10:42:55 +0200

** Affects: binutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ld -shared does not search for libraries in  /usr/lib
https://bugs.launchpad.net/bugs/604134
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to