From owner-freebsd-ports@FreeBSD.ORG Wed Feb 25 07:22:54 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0921106564A for ; Wed, 25 Feb 2009 07:22:54 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 491938FC1E for ; Wed, 25 Feb 2009 07:22:54 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: (qmail invoked by alias); 25 Feb 2009 07:22:52 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 212.46.126.165) [212.46.126.165] by mail.gmx.net (mp060) with SMTP; 25 Feb 2009 08:22:52 +0100 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX1/QPvRKG+3Q6sD1FGkdifLLuoUBm/4IqPvYfWbt9l NS3xRldZq3fkou Date: Wed, 25 Feb 2009 08:23:13 +0100 From: "Thomas Schmitt" To: freebsd-ports@freebsd.org References: <20090225063155.GB31601@server.vk2pj.dyndns.org> In-Reply-To: <20090225063155.GB31601@server.vk2pj.dyndns.org> Message-Id: <102353174119913@212.46.126.165> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 Subject: Re: Problem with .so numbering on FreeBSD in contrast to Linux X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 07:22:55 -0000 Hi, Peter Jeremy wrote: > It's also virtually impossible to use libtool on Solaris. I've come > to the conclusion that libtool was "designed" (using the word very > loosely) to impede portability as much as possible. I feel so botchy when probing and poking in configure.ac or Makefile.am. But autotools constitutes a common interface and one should not underestimate its knowledge about systems. I found out about FreeBSD .so numbering meanwhile that libtool is right to use a single number because the dynamic linker insists in exact number matching anyway. I.e. libburn.so.4.27 does not work for a program that was linked against .so.4.25. Still unanswered is the question why the semantics of libtool's .so numbering differ boldly between Linux and FreeBSD. Problem seems to be that with a single version number one cannot express the difference between compatible and incompatible ABI versions. Obviously it was more important to allow several versions of the same compatible ABI, than to allow the applications to make use of that compatibility. For my own projects i would make the contrary decision for now. But i still have doubts. Ain't there any sysadmin here who can explain the best practice of managing dynamic libraries on FreeBSD ? Have a nice day :) Thomas