Date: Sun, 20 Jan 2002 21:53:39 -0800 (PST) From: "Chris L. Bond" <cbond@twistedcircus.org> To: FreeBSD-gnats-submit@freebsd.org Subject: gnu/34102: Linker doesn't search /usr/local/lib Message-ID: <200201210553.g0L5rdC87494@twistedcircus.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201210553.g0L5rdC87494>