Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 1995 21:16:34 -0700
From:      Nate Williams <nate@rocky.sri.MT.net>
To:        =?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>
Cc:        current@freebsd.org, nate@freebsd.org
Subject:   Re: Link order needs to be fixed!
Message-ID:  <199511160416.VAA08251@rocky.sri.MT.net>
In-Reply-To: <OH21hgmK-7@ache.dialup.demos.ru>
References:  <OH21hgmK-7@ache.dialup.demos.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
KOI8-R writes:
> 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.

If setkey() is in a shared libcipher, and you have a shared libc() it
will follow link order.

It's when you mix and match shared/static libraries there is a problem.
That has *always* worked, and was never broken.  Can ou provide me a
tar-file with the offending code?



Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511160416.VAA08251>