On Friday 16 September 2005 1:17 am, Roland Dreier wrote: > > + no need to call the -dbg pacakge libibverbs1, the dbg should match the > > exact version including SONAME of the libibverbs1 and thus can remain > > libibverbs-dbg > > OK, I changed the name (and also libmthca1-dbg -> libmthca-dbg) > > > + SONAME libibverbs.so.1 > > is a very challenging goal. Are you sure that all 1.x.y releases will > > ship the same API for each and every upcoming version of x and y? Not > > that this is impossible to reach, just mentioning the implications. > > I'm not sure what you mean here. The SONAME doesn't have anything to > do with the naming of releases, does it?
The release number of a source package is not related to the SONAME: "Never try to set the interface numbers so that they correspond to the release number of your package. This is an abuse that only fosters misunderstanding of the purpose of library versions. Instead, use the -release flag (see Release numbers), but be warned that every release of your package will not be binary compatible with any other release." http://www.gnu.org/software/libtool/manual.html#Updating-version-info However, the *name* of any library package should ALWAYS reflect the SONAME. Check the libtool manual and the Debian Library Packaging Guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#sonames The package name should match the shared library SONAME. It can be deduced with sed s/\.so\./-/ and removing “-” later when removing it will not result in consecutive numbers. or by using the following code snippet from Steve Langasek. $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//' SONAME package name libsome-1.2.3.so.4 libsome-1.2.3-4 libsome-1.2.3.so libsome-1.2.3 libsome.so.4 libsome4 libsome.so libsome > I am just planning on > bumping the SONAME to .2 if there is an incompatible change. Then that would change the package to libibverbs2. http://www.gnu.org/software/libtool/manual.html#Versioning http://www.gnu.org/software/libtool/manual.html#Updating-version-info -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpmjaqjI39zk.pgp
Description: PGP signature