bug-ncurses
[Top][All Lists]
Advanced

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

Re: Incorrect lib version numbers?


From: Thomas Dickey
Subject: Re: Incorrect lib version numbers?
Date: Sat, 14 Feb 2004 07:20:25 -0500 (EST)

On Sat, 14 Feb 2004, Reinhard Alt wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> I installed libncurses-5.4.tar.gz and I expect that the Libary numbers were
> wrong. The VErsion in the lib is 5.0.4 instead of expected 5.4.? Having still
> the old file 5.3 creates a wrong link libncurses.so.5 pointing to
> libncurses.so.5.3 instead of the newerlibncurses.so.5.0.4 file  when running
> ldconfig.

That's the libtool configuration you're describing.  I left the version
convention as it was from the original submitter (John Lam).  Libtool
actually recommends a different arrangement of the numbers (soname) -
which still is not compatible with the convention we've been using for
several years. If there were enough interest in it, I'd add a configure
option to modify the soname - but your problem isn't directed to that.
(In fact, I don't get many questions about libtool - packagers tend to
ignore the configure options if they don't work as expected).

There's more than one way to construct a soname with libtool - its
preferred one has nothing to do with the package version (and in fact
differs from the native convention on more than one machine).  Since the
actual algorithm isn't documented except in vague generalities, it's hard
to compare without reading the libtool script.  (Sure, they tell you how
to set it up, but that's not documentation of the algorithm).

Offhand, I seem to recall that you cannot reliably force libtool to use
the same convention that I've been using for ncurses in the non-libtool
convention, and - as you see - libtool's install method doesn't check for
conflicts.

>
> Thanks,
> Reinhard
>
>
> - -rw-r--r--    1 root     root       102086 Feb 14 10:07 libncurses++.a
> - -rwxr-xr-x    1 root     root         1094 Feb 14 10:07 libncurses++.la
> lrwxrwxrwx    1 root     root           21 Feb 14 10:07 libncurses++.so ->
> libncurses++.so.5.0.4
> lrwxrwxrwx    1 root     root           21 Feb 14 10:07 libncurses++.so.5 ->
> libncurses++.so.5.0.4
> - -rwxr-xr-x    1 root     root        86039 Feb 14 10:07 
> libncurses++.so.5.0.4
> - -rw-r--r--    1 root     root       173280 Feb 14 10:07 libncurses.a
> - -rwxr-xr-x    1 root     root          835 Feb 14 10:07 libncurses.la
> lrwxrwxrwx    1 root     root           19 Feb 14 10:07 libncurses.so ->
> libncurses.so.5.0.4
> lrwxrwxrwx    1 root     root           17 Feb 14 10:14 libncurses.so.5 ->
> libncurses.so.5.3
> - -rwxr-xr-x    1 root     root       124702 Feb 14 10:07 libncurses.so.5.0.4
> - -rw-r--r--    1 root     root       284919 Feb  6 00:35 libncurses.so.5.3
> - -rw-r--r--    1 root     root      6407616 Feb  6 00:35 libncurses_g.a
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFALekNOrESxsiPNxERAqz4AJ9QV1wNMYZpGRCCa5jJM+7BAKMmrACeICbc
> bFLMX5Uf7kAO7be6AG2G2Yg=
> =Bgcr
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]