[sword-devel] change in library versioning scheme with 1.5.8

Buchan Milne bgmilne at obsidian.co.za
Mon Aug 1 05:02:52 MST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am the maintainer for sword-related packages for Mandriva.

I notice that the library versioning scheme seems to have changed under
a Unix environment, from something sane:

$ rpm -ql libsword4
/usr/lib/libsword.so.4
/usr/lib/libsword.so.4.0.0

to something that looks way too much like imposing Windows shortcomings
on Unix:

 ls rpm/tmp/sword-1.5.8-1mdk-buildroot/usr/lib/ -l
total 6428
- -rwxr-xr-x  1 buchan buchan 1094588 Jul 25 09:38 libsword-1.5.8.so*
- -rw-r--r--  1 buchan buchan 5451872 Jul 25 09:38 libsword.a
- -rwxr-xr-x  1 buchan buchan     875 Jul 25 09:38 libsword.la*
lrwxrwxrwx  1 buchan buchan      17 Jul 25 09:38 libsword.so ->
libsword-1.5.8.so*
drwxr-xr-x  2 buchan buchan    4096 Jul 25 09:38 pkgconfig/
drwxr-xr-x  2 buchan buchan    4096 Jul 25 09:38 sword/

Now ... while there isn't *that* much of a problem, is there any reason
not to use a sane soname and library major as in the past?

However, since the naming policy for library packages is
lib(64)?${soname}${major}, I'm not quite sure about what to do with what
used to be libsword4 ...

BTW, I also maintain OpenLDAP (which also supports building natively
under Windows), and under Unix the soname is currently libldap-2.2, with
a library major of 7, so the package name is libldap2.2_7 (and the
library file libldap-2.2.so.7). I guess libsword1.5.8 would be
acceptable ...

Any comments?

Regards,
Buchan

P.S. I'm not subscribed to the list ...

- --
Buchan Milne                              Systems Architect
Obsidian Systems                  http://www.obsidian.co.za
B.Eng          RHCE (803004789010797),LPIC-1 (LPI000074592)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7g9srJK6UGDSBKcRAhaRAKCsbaFXYrYcinmEN0FhEOPWP+DTygCeN26W
BM68sAGL0v92m928dJdsnqo=
=zsJf
-----END PGP SIGNATURE-----


More information about the sword-devel mailing list