[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Library versioning



Hi *,
I'm packaging a software for the Debian-Med group (CCed), and found that, even
if the library is at version 2.2.1, the compilation makes a libfoo.so.2.0.2 [1].

This is due to the fact that in Makefile.am upstream (CCed) has set:

libvista_la_LDFLAGS = -version-info 2:2:0

As already discussed in the thread at [1], the numbers get reversed in the
file name, so that 2:2:0 becomes 2.0.2. Now the problem is that the third
number must be <= the middle one. This means that we can't have a 2:1:2 (so that
the filename becomes libfoo.so.2.2.1).

Is there any solution to this? If not, is it that important that the filename
has the same version number as the package?

Kindly,
David

[1] please have a look at:
http://lists.debian.org/debian-med/2008/01/msg00207.html

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: