From owner-freebsd-questions@FreeBSD.ORG Thu Sep 7 08:24:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1456B16A4DA for ; Thu, 7 Sep 2006 08:24:24 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B91F343D45 for ; Thu, 7 Sep 2006 08:24:23 +0000 (GMT) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k878O5W7065071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 7 Sep 2006 01:24:06 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id k878O50a065070; Thu, 7 Sep 2006 01:24:05 -0700 (PDT) Received: by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA00953; Thu, 7 Sep 06 01:20:34 PDT Date: Thu, 7 Sep 06 01:20:34 PDT From: perryh@pluto.rain.com (Perry Hutchison) Message-Id: <10609070820.AA00953@pluto.rain.com> To: wmoran@collaborativefusion.com In-Reply-To: <20060906210831.f86ce289.wmoran@collaborativefusion.com> References: <10609070037.AA29499@pluto.rain.com> <20060906210831.f86ce289.wmoran@collaborativefusion.com> Cc: freebsd-questions@freebsd.org Subject: Do I not understand shared-lib versions? (Re: OpenOffice port vs Firefox) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 08:24:24 -0000 > > Having gotten a sufficiently-recent version of glib, I am now > > several hours into the build of OpenOffice, and I've discovered > > that Firefox has quit working. When I try to start it: > > > > GThread-ERROR **: file gthread-posix.c: line 187 (): error 'Invalid argument' during 'pthread_mutex_trylock' > > aborting... > > Abort trap (core dumped) > > > > Of course, since it won't start up, I can't consult Help/About > > to find out the version :( but based on /var/db/pkg I think it > > is firefox-1.5.0.1_1,1 > > > > I suppose Firefox and OpenOffice are tripping over each other WRT > > the version of some shared library, but I thought the whole point > > of having version numbers on shared libs was to prevent that sort > > of problem. > > ... > > I would suspect that you've hit some obscure version issue ... > I seem to remember one point at which I rebuilt OOo and had to > rebuild firefox to get it working, but I don't remember for sure. The Firefox is the package from the 6.1 CD set, and the OpenOffice is a current Ports build (in process). I figure to try rebuilding Firefox from its port once the OpenOffice build finishes -- it's been running for something over 16 hours now, and is currently in svx/source/svdraw. What I don't get is why a shared-lib change would manifest this way. If I understand shared-lib versioning correctly, any incompatible change to any exported API should have occasioned a change to at least the minor version number, precisely to avoid this sort of hit on an existing binary that was built to the old API. Such binaries "should" continue to use the old version of the shared library, no?