From owner-freebsd-gnome@FreeBSD.ORG Wed Sep 28 07:18:41 2005 Return-Path: X-Original-To: freebsd-gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED58316A41F; Wed, 28 Sep 2005 07:18:41 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1003E43D53; Wed, 28 Sep 2005 07:18:40 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j8S7Ib9V061190; Wed, 28 Sep 2005 10:18:37 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j8S7ImrH099022; Wed, 28 Sep 2005 10:18:48 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <433A43C7.8040303@ebs.gr> Date: Wed, 28 Sep 2005 10:18:31 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Nedotsukov References: <4338F205.7030808@ebs.gr> <1127805775.50068.44.camel@shumai.marcuscom.com> <433902C5.8080507@ebs.gr> <433A380F.9080104@FreeBSD.org> In-Reply-To: <433A380F.9080104@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome Subject: Re: About gtk library versions and dlopen() X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 07:18:42 -0000 Alexander Nedotsukov wrote: > Panagiotis Astithas wrote: > >>>> I see that in the marcuscom repository the gtk libraries have a >>>> version of 0 (libgtk-x11-2.0.so.0), whereas the current stable port >>>> has a version of 600 (libgtk-x11-2.0.so.600). Could someone please >>>> explain the logic behind the gtk library versioning and whether the >>>> committed gnome 2.12 will keep the 0 versions? > > ... > >> Excellent. Out of curiosity, in the current scheme of things, how can >> I dlopen() a libfoo.so.0 and get the existing libfoo.so.600 loaded? Do >> I need something other than RTLD_LAZY? > > You can not do that. And normally you do not want to. If all you need is > just a most recent libfoo version than try dlopen() libfoo.so symbolic > link. OK, thanks. I got the impression that it was somehow possible without the symlink. > BTW I have eclipse + GNOME 2.12 running w/o problems you referring to. This was an issue for which we already have a fix in Eclipse, but I was researching the issue to minimize our diffs from the Eclipse Linux port. Thanks, Panagiotis