new binutils causes all kinds of link problems

Sean McNeil sean at
Wed Jun 16 21:20:29 GMT 2004

I've noticed that ld works differently now.  Before, if you link with a
shared library it will pull in that library and all the libraries the
shared library was linked with.  Now, that isn't the case.

For instance, if you link with it now complains about

/usr/bin/ld: warning:, needed by
/usr/local/lib/, not found (try using -rpath or -rpath-link)

ldd shows

server# ldd /usr/local/lib/
/usr/local/lib/ => /usr/local/lib/ (0x200925000)

yet ldconfig shows it knows about it:

server# ldconfig -r | grep libiconv
        344:-liconv.3 => /usr/local/lib/

This was during configure of a gnome package

configure:2642: cc -O -pipe -g  -I/usr/local/include -L/usr/local/lib
-lintl conftest.c  >&5


More information about the freebsd-current mailing list