From owner-freebsd-questions Fri Jan 3 19:58: 6 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C4337B401 for ; Fri, 3 Jan 2003 19:58:05 -0800 (PST) Received: from spry.com (spry.com [66.228.209.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 1285B43EEC for ; Fri, 3 Jan 2003 19:58:05 -0800 (PST) (envelope-from jhopper@spry.com) Received: (qmail 12244 invoked from network); 4 Jan 2003 03:53:38 -0000 Received: from spry.com (HELO 12-229-197-18.client.attbi.com) (jhopper@spry.com@66.228.209.63) by spry.com with SMTP; 4 Jan 2003 03:53:38 -0000 Subject: Mysterious problem with ldconfig and ld From: Justin Hopper To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: Message-Id: <1041652526.27245.29.camel@home.gusalmighty.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 03 Jan 2003 19:55:26 -0800 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This may be a very simple fix, but so far I've found no solution. Just installed expat-1.95.5 in a FreeBSD 4.4 machine. The install went fine, and I verified that ldconfig had picked up the library: host# ldconfig -r | grep expat 73:-lexpat.4 => /usr/local/lib/libexpat.so.4 However, I need to install other packages that require the expat library, and the configuration fails stating that the expat library cannot be found. In fact, just a simple test fails: host# ld -lexpat /usr/libexec/elf/ld: cannot find -lexpat I made sure any previous installations of expat were nuked and all files deleted. And the /usr/local/lib/libexpat.so.4 does exist: higherinnovation# ll /usr/local/lib/libexpat.so.4 -rwxr-xr-x 1 root wheel 294728 Jan 3 19:44 /usr/local/lib/libexpat.so.4 If ldconfig has an entry for the library and is pointing correctly, what is the problem? Maybe I've just been staring at this for too long..... Any help would be appreciated. -- Justin Hopper jhopper@spry.com UNIX Systems Engineer http://www.spry.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message