From owner-freebsd-current Wed Nov 15 19:36:42 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA11650 for current-outgoing; Wed, 15 Nov 1995 19:36:42 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id TAA11467 ; Wed, 15 Nov 1995 19:35:38 -0800 Received: by sequent.kiae.su id AA00899 (5.65.kiae-2 ); Thu, 16 Nov 1995 06:30:47 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Thu, 16 Nov 95 06:30:47 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id GAA02112; Thu, 16 Nov 1995 06:30:10 +0300 To: current@freebsd.org Cc: nate@freebsd.org Message-Id: Organization: Olahm Ha-Yetzirah Date: Thu, 16 Nov 1995 06:30:10 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Link order needs to be fixed! Lines: 24 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 816 Sender: owner-current@freebsd.org Precedence: bulk I just try to build some application (speak_freely) and got following diagnostic from ld: setkey(3) not present in the system! BUT! I directly specify -lcipher (which have setkey()) into linker line, i.e.: cc ..objs.. -lcipher It means that setkey() picked not from shared libcipher but from shared libc instead independently of linking order. Using "/usr/lib/libcipher.a" instead of "-lcihper" not helps too. Of course, when I add -static, all becomes OK, but we need working ld for shared libraries in any case. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849