From owner-freebsd-bugs Sun Jan 20 22: 0: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C268F37B419 for ; Sun, 20 Jan 2002 22:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0L601E63289; Sun, 20 Jan 2002 22:00:01 -0800 (PST) (envelope-from gnats) Received: from twistedcircus.org (h24-77-238-89.vf.shawcable.net [24.77.238.89]) by hub.freebsd.org (Postfix) with ESMTP id 062C037B41A for ; Sun, 20 Jan 2002 21:51:42 -0800 (PST) Received: (from cbond@localhost) by twistedcircus.org (8.11.6/8.11.6) id g0L5rdC87494; Sun, 20 Jan 2002 21:53:39 -0800 (PST) (envelope-from cbond) Message-Id: <200201210553.g0L5rdC87494@twistedcircus.org> Date: Sun, 20 Jan 2002 21:53:39 -0800 (PST) From: "Chris L. Bond" Reply-To: "Chris L. Bond" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: gnu/34102: Linker doesn't search /usr/local/lib Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34102 >Category: gnu >Synopsis: Linker doesn't search /usr/local/lib >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 22:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chris L. Bond >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: None >Environment: System: FreeBSD muscle.twistedcircus.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #5: Tue Dec 25 19:46:40 PST 2001 cbond@muscle.twistedcircus.org:/usr/obj/usr/src/sys/MUSCLE i386 >Description: When linking executables with ld(1), /usr/local/lib -- the seemingly `standard' location for 3rd-party libraries -- isn't searched. This means that it must be explicitly included in the list with -L/usr/local/lib. The odd thing is that it seems to have been removed from FreeBSD's version of binutils, but existed in the original distribution. >How-To-Repeat: Link a program against a library in /usr/local/lib. >Fix: Include `:/usr/local/lib' in the _${ARCH}_path variables from the Makefiles in /usr/src/gnu/usr.bin/binutils/ld/. Or just keep the original genscripts.sh. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message