Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 09:00:42 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: libtool help needed
Message-ID:  <20010322090042.M5821@ohm.physics.purdue.edu>
In-Reply-To: <20010320184712.A82055@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Tue, Mar 20, 2001 at 06:47:12PM %2B0100
References:  <20010320184712.A82055@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--hdhkc9EpVJoq6PQ6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 20, 2001 at 06:47:12PM +0100, Stijn Hoop wrote:
> I'm trying to port libuta (http://libuta.sourceforge.net), but I'm running
> into a problem with (I think) libtool.
>=20
> I've got it to build just fine, but the .so file created is:
>=20
> [stijn@firsa] <~/src/ports/libuta> find . -name '*\.so\.*'
> ./work/libuta-0.3.35/uta/.libs/libuta-0.3.so.35
>=20
> I'm actually not very happy with a .so.35, as you can assume. And I'm cer=
tainly
> not very happy when 0.4.1 gets released :(
>=20
> However, I'm not familiar enough with libtool to determine the place where
> I can fix this. What should I patch to get a .so.0 (or so.1 or something
> like that)?
>=20
> Note that I did use USE_LIBTOOL=3Dyes in my Makefile...

You should be able to find out where "-version-info" is called in one of
the Makefiles and do a perl regex to fix it.  But, I think it's better
just to let the vendor decide on the shlib version number, unless they
use a.out style (libame.so.X.Y for example).  It's too much of a hassle
to bother with the regex.  Just autogen the pkg-plist and do the usual
sorting routine, update the dependency Makefiles when they bump the
shlib version number.  You could also request to them personally that
they use a smarter version number management system (i.e. start at 0 and
only bump when binary incompatible changes occur).

--=20
wca

--hdhkc9EpVJoq6PQ6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6ugWKF47idPgWcsURAjuOAJ4scMsgr/6x668G6ayg0kXinOH8DgCeMrMI
CTzL67OAFRxD3i2Fe4KfW4c=
=5XuF
-----END PGP SIGNATURE-----

--hdhkc9EpVJoq6PQ6--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010322090042.M5821>