Re: Naming library with proper SONAME

Roberto C. Sánchez <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On Wed, Mar 11, 2009 at 12:02:09AM +0100, Pau Garcia i Quiles wrote:
> 
> Read:
> http://www.elpauer.org/?p=230
> 
> "If your library version is the same as your soname version, you have
> not understood a thing of what I said above" :-)
> 
> Soversion should be a *single* unsigned int, starting from 0.
> 
> Why using the version number as the soversion is a bad, bad idea?
> Because bumping soversion means you have broken binary compatibility.
> Now, let's imagine this scenario:
> 
> luabind version      ABI break?    soversion
> ------------------------       -----------------    ----------------
> 
> 0.8.1                       N/A               0
> 0.8.2                       no                 0
> 0.9.0                       no                 0
> 0.9.1                       yes                1
> 0.10.0                     yes                2
> etc
> 
> "ABI break?" = "is this version binary compatible with the previous version?"
> 
> See? From 0.8.1 to 0.8.2, and from 0.8.2 to 0.9.0 luabind did not
> break ABI, so there was no need to bump soversion. If you were using
> the luabind version number as the soversion, you would be saying "I'm
> breaking ABI with every luabind release", which is not true.
> 

I completely understand.  However, what the luabind upstream developers
are proposing is to have the version be the SONAME.  I understand that
it is "wrong."  However, I am simply packaging for Debian. I am simply
trying to guage people's feelings with regard to SONAME issue as it
pertains to the package's suitability to be in Debian.

Regards,

-Roberto
-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkm29vYACgkQ5SXWIKfIlGTM4QCfTF9tzWqTV/wxZ0rFhLqXiXdx
jo8AoIbVE7QvI5HK+K5/wZaG868s62H0
=gnz1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.