From owner-freebsd-current@FreeBSD.ORG Mon Feb 12 20:58:28 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC81016A400 for ; Mon, 12 Feb 2007 20:58:28 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6BDA613C4A5 for ; Mon, 12 Feb 2007 20:58:28 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.66) with esmtp (envelope-from ) id <1HGiFn-0003sF-4i>; Mon, 12 Feb 2007 21:58:27 +0100 Received: from e178029077.adsl.alicedsl.de ([85.178.29.77] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.66) with esmtpsa (envelope-from ) id <1HGiFn-0007Ux-1m>; Mon, 12 Feb 2007 21:58:27 +0100 Message-ID: <45D0D515.7000004@mail.zedat.fu-berlin.de> Date: Mon, 12 Feb 2007 21:59:01 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.9 (X11/20070211) MIME-Version: 1.0 To: "Peter, Oliver" References: <45CFAD59.4030501@mail.zedat.fu-berlin.de> <20070212191313.GA57294@vader.homeunix.org> In-Reply-To: <20070212191313.GA57294@vader.homeunix.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.29.77 X-Mailman-Approved-At: Tue, 13 Feb 2007 00:56:14 +0000 Cc: freebsd-current@FreeBSD.org Subject: Re: libc.so.6 vs. libc.so.7 for compatibility reasons X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 20:58:28 -0000 Peter, Oliver wrote: > Hey namesake > > On Mon, Feb 12, 2007 at 12:57:13AM +0100, O. Hartmann wrote: > >> Tried to install ports/java/diablo-jdk15 and it failed to to the lack of >> libc.so.6 it expects. >> >> This night I'll try /etc/libmap.conf. but I want to ask for a better, >> cleaner way to do so ... >> > > Could you please give me a short hint to manage this issue with libmap.conf? > The last time I did it quick & (i think very very) dirty with: > > # ln -s /lib/libc.so.7 /lib/libc.so.6 > > Please don't kick my ass. > > Well, the fast and nasty way was simply insert this into a file called /etc/libmap.conf: libc.so.6 libc.so.7 and as man libmap.conf says, this redirects any libc.so.6 involvation towards libc.so.7. Next I have to do is to specify more exactly when and on whom this redirection should be done, so something like [azureus] libc.so.6 libc.so.7 I'm not very familiar with how the OS works in its deep core, so sometimes I struggle with the statement within the brakets. SOmetimes there must be the exact full path, sometimes not and I'm not aware whether simply the client needs to be 'redirected' to another library or java itself needs this remapping, too. Maybe one of the gurus herein can answer this. With the simple and dirty method, I can run azureus and I was able installing diablo jdk-15 on my freshly cvsupdated FreeBSD 7.0/amd64 box and until now, no crahs or other harassments occured. Regards, Oliver