Date: Sat, 21 Feb 2009 08:08:07 +0100 From: "Thomas Schmitt" <scdbackup@gmx.net> To: freebsd-ports@freebsd.org Subject: Re: Problem with .so numbering on FreeBSD in contrast to Linux Message-ID: <10272449079630@212.46.126.165> In-Reply-To: <op.upoc4gz09aq2h7@localhost> References: <op.upoc4gz09aq2h7@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Sam Lawrance wrote: > http://www.freebsd.org/doc/en/books/developers-handbook/policies-shlib.html That description is similar to what i experience on my Linux system but not to what i see on the FreeBSD server where i do my tests: everest.free-shells.com.ar FreeBSD 6.3-RELEASE-p5 (KEVEREST-6.3) #0: Thu Oct 9 13:54:44 ART 2008 There is only one number after .so whereas policies-shlib.html talks of major.minor. So obviously my ./libtool resp. the programs used inside do not follow this convention. (autotools is not my personal choice. It was already in use when i became upstream of libburn. Its main advantage is its social standing in the community of distro packagers.) Jeremy Messenger wrote: > http://people.freebsd.org/~mezz/libtool.txt That's hard to read but seems to be exactly about my problem. I'll explore that. "ltmain.sh" is mentioned. Maybe i can do a private hack in my copy of it. This code snippet looks promising: case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; Is "ltverhack" a piece of software ? (Can i have a look at it somewhere ?) > <mezz7> Why do libtool have to be weird? 600 - 600.. > couldn't it be simple to just 0? :-) It is confusing that the libtool documentation talks about a .so numbering scheme which would allow to demand a upper and lower limits for LT_AGE at link time. Neither Linux nor FreeBSD seem to implement that scheme. It would be very convenient though. All in all, as upstream, i would love to trash .so in total. With my apps i take care to provide statically linked versions as alternative to the .so cripples. But, sigh, the world wants DLLs. Many thanks for your help. Have a nice day :) Thomas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10272449079630>