From owner-freebsd-current@FreeBSD.ORG Wed Jun 16 21:20:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7359716A4CE for ; Wed, 16 Jun 2004 21:20:29 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3353C43D53 for ; Wed, 16 Jun 2004 21:20:29 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id BD4C8FD04F for ; Wed, 16 Jun 2004 14:20:11 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00676-01 for ; Wed, 16 Jun 2004 14:20:10 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 20011FD04C for ; Wed, 16 Jun 2004 14:20:10 -0700 (PDT) From: Sean McNeil To: freebsd-current@freebsd.org Content-Type: text/plain Message-Id: <1087420809.20757.6.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 16 Jun 2004 14:20:09 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Subject: new binutils causes all kinds of link problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 21:20:29 -0000 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 libintl.so it now complains about /usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, not found (try using -rpath or -rpath-link) ldd shows server# ldd /usr/local/lib/libintl.so /usr/local/lib/libintl.so: libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x200925000) yet ldconfig shows it knows about it: server# ldconfig -r | grep libiconv 344:-liconv.3 => /usr/local/lib/libiconv.so.3 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 Cheers, Sean