Subject: libtool [was Re: CVS commit: pkgsrc]
To: Dr. Rene Hexel <rh@vip.at>
From: Nick Hudson <nick@nthcliff.demon.co.uk>
List: tech-pkg
Date: 12/08/2000 17:19:08
"Dr. Rene Hexel" wrote:
>
> Nick Hudson wrote:
>
> > > Note that -release should not be used in libtool - says Rene :)
> >
> > This isn't the correct thing to do... -version-info should always be
> > used and then release will not cause problems.
>
> I'm beginning to get confused here. With libmadplay, Charles told me
> to use '-version-info 0:0' to add a '.0.0' version suffix to the shared
> library. I did, but it didn't change a thing (i.e., no '.0.0' suffix
> was added under ELF). The suffix only got added when I removed the
> '-release' option.
>
> So either
>
> - libtool-1.3.5nb9 is broken and should add the '.0.0' suffix in any
> case (if '-version' is present), or
OK. So I did some testing on top of reading the libtool source and I now
see that strange things happen when release is also specified. The
version information is included but all sorts links are also created.
For example
libfoo.so -> libfoo-release.so.0.0
Basically its weird. I believe the best thing to do would be to make
libtool DTRT for NetBSD instead of insisting on removing the -release
flag for libtoolised packages.
I'll have a bit more of a think about this over the weekend.
Nick