|
From: | Chris Zubrzycki |
Subject: | Re: ncurses, libtool, and os x |
Date: | Thu, 18 Sep 2003 12:43:25 -0400 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, September 18, 2003, at 12:27 PM, Thomas Dickey wrote:
On Thu, 18 Sep 2003, Chris Zubrzycki wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, September 18, 2003, at 12:00 PM, Thomas Dickey wrote:no, the file names stay exactly the same, the problem is libtool adds 1On Thu, 18 Sep 2003, Chris Zubrzycki wrote:You could try using --with-shlib-versionWell, 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. Theso libtool makes it libncurses.6.1.4.dylib or libncurses.6.0.4.dylibto whatever version is passed to it (only in darwin). I was thinking would it be a good idea for ncurses to decrease the version passed to libtool by 1 if built in darwin?That would make it more predictable (unless of course someone got aroundto fixing libtool).
according to the libtool hackers, this is correct for darwin (because versions of 0 are bad on darwin) , and will always be this way.
so I see - the rules I've got for darwin use $(NCURSES_MAJOR) and $(NCURSES_MINOR) rather than $(ABI_VERSION). I think I have enoughinformation to be able to make libtool do the expected thing on my nextpatch -- I'll add that to my to-do list. Note that in general it's not possible to make the versions match up, since libtool uses its own convention for version numbers.i thought a host-specific case statement could take care of this? but atm the main problem i see is when the ncurses abi is increased to 6. then some programs will be looking for slightly different ncurses that have the same abi, no?Not exactly - the script to setup libtool assumes libtool handles the host-specific cases.
it does, but the versions are inconsistent between using libtool and not.
- -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 ======================================================== "Twice blessed is help unlooked for." --Tolkien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/aeCx+/mCMqKrwHARAqI3AKC0NYJ3CdO5+9oq3OPUnopzvK4VzwCg1uDL FRiJxLJ2XYZUHRUZyrUz5hg= =H+l8 -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |