From owner-freebsd-current Mon Dec 15 23:49:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04319 for current-outgoing; Mon, 15 Dec 1997 23:49:27 -0800 (PST) (envelope-from owner-freebsd-current) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04313; Mon, 15 Dec 1997 23:49:16 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id KAA17114; Tue, 16 Dec 1997 10:49:04 +0300 (MSK) (envelope-from ache) Date: Tue, 16 Dec 1997 10:49:01 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Peter Wemm , jdp@freebsd.org, FreeBSD-current Subject: ld search patch and ld hints conflict at link stage (libtermcap) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk cc -O2 -pipe -I/usr/src/usr.bin/ftp/../../contrib-crypto/telnet -o ftp cmds.o cmdtab.o complete.o domacro.o fetch.o ftp.o main.o ruserpass.o util.o -ledit -ltermcap ld: no shared -ltermcap.3.0 available *** Error code 1 It happens because /usr/lib/compat/libtermcap.so.3.0 is in ld hints, so 3.0 number picked at link stage as biggest one, but then findshlib() function can't find the file because /usr/lib/compat not in standard search path as supposed! Please fix somehow, probably all libraries present in ld hints but not in search path should be silently ignored. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/