bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses, libtool, and os x


From: Chris Zubrzycki
Subject: Re: ncurses, libtool, and os x
Date: Thu, 18 Sep 2003 11:29:13 -0400

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

On Thursday, September 18, 2003, at 04:48  AM, Thomas Dickey wrote:

On Wed, 17 Sep 2003, Chris Zubrzycki wrote:
Hey all, i realized one of the problem i've had with switching between
ncurses built with libtool and without. On OS X, libtool always adds 1
to the current and abi versions... would it be a good idea to
compansate for that this late in the game?

hmm - that sounds like someone doesn't want the possibility of generating
a library name such as libncurses.so.5.0, but "fixes" it by changing it
to libncurses.so.6.1

You could try using --with-shlib-version

Well, actuaclly on os x it's named libncurses.5.0.3.dylib, but the version and compat versions are 6.x only if built with libtool. The problem is that libs with a version of 0 are generally a BadThing on OS X, and they made a general solution of adding 1 to both the version and compatibility version. I don't think many people other than myself (and the fink project) use libtool to build it, since it isn't the default to do so. I see a problem though, where people may build it with libtool/using fink, and then get pre-made binaries that are linked against ncurses built without libtool, and because it's a lower ABI in the app than the lib, it will refuse to work. I tried - --with-abi-version=4 in the configure line, to have libtool add 1 and make it 5, but that didn't work, the libs still had an ABI of 6.0.0.

- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================

Isaac Newton understood the impact of the Apple.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/ac9P+/mCMqKrwHARAot/AKCPol9E0Eyc9n9u8IbFXXLtRv//nQCdHNpz
HPGEajrEMxx0wYkWr9n4CSg=
=SqlG
-----END PGP SIGNATURE-----





reply via email to

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