Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 10:49:01 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Peter Wemm <peter@spinner.netplex.com.au>, jdp@freebsd.org, FreeBSD-current <current@freebsd.org>
Subject:   ld search patch and ld hints conflict at link stage (libtermcap)
Message-ID:  <Pine.BSF.3.96.971216103959.16967A-100000@lsd.relcom.eu.net>

next in thread | raw e-mail | index | archive | help
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
<ache@nietzsche.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971216103959.16967A-100000>