Subject: Re: lib/11942: Shared library version numbers not updated when translated to ELF
To: None <kivinen@ssh.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 01/12/2001 16:45:59
On Wed, Jan 10, 2001 at 06:07:27PM +0200, kivinen@ssh.fi wrote:
> >Description:
> 
> 	The libcrypt and libm have same version number both in 1.3.2
> 	and 1.5, even when the 1.5 is ELF and 1.3.2 is aout system.
> 	This causes all old 1.3.2 binaries to fail, because they
> 	cannot load the libcrypt.so.0.0 / libm.so.0.1 because they are
> 	ELF binaries instead of aout. I think the library version
> 	numbers must be updated if there is incompatible change, and I
> 	think binary format change is incompatible.

No, because this would require a major version bump each time a port
switches from a.out to ELF.
Also I'm running 1.3.x and 1.4.x binaries on 1.5 without problems, provided
the rigth libraries are installed in /emul/aout (the a.out ld.so shipped with
1.5 looks for librarires in /emul/aout/foopath instead of /foopath)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--