From owner-freebsd-questions Mon Oct 11 0:25: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id E483E14DB7 for ; Mon, 11 Oct 1999 00:24:57 -0700 (PDT) (envelope-from jk.tan@pacific.net.sg) Received: from pop2.pacific.net.sg (pop2.pacific.net.sg [203.120.90.86]) by sunny.pacific.net.sg with ESMTP id PAA05241 for ; Mon, 11 Oct 1999 15:24:55 +0800 (SGT) Received: from firefox.pacific.net.sg (firefox.pacific.net.sg [203.120.89.74]) by pop2.pacific.net.sg with ESMTP id PAA25183 for ; Mon, 11 Oct 1999 15:24:47 +0800 (SGT) Date: Mon, 11 Oct 1999 15:23:23 +0800 (SGT) From: Tan Juay Kwang X-Sender: tanjk@firefox.pacific.net.sg To: freebsd-questions@freebsd.org Subject: ldconfig_paths Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, the default rc.conf in /etc/defaults had the line ldconfig_paths set to "/usr/lib/compat /usr/X11R6/lib /usr/local/lib". However, ld still does not look at /usr/local/lib while linking? I have to specify -L/usr/local/lib to gcc for the build to be successful. The system is 3.2 and ld -v gives GNU ld version 2.9.1 (with BFD 2.9.1) and gcc -v gives gcc version 2.7.2.1. What have I not done to include /usr/local/lib into the default ld search paths? Many thanks in advance. Best regards, Juay Kwang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message