Date: Thu, 16 Nov 1995 06:30:10 +0300 (MSK) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su> To: current@freebsd.org Cc: nate@freebsd.org Subject: Link order needs to be fixed! Message-ID: <OH21hgmK-7@ache.dialup.demos.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OH21hgmK-7>