From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 13:52:38 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEFF037B401 for ; Wed, 4 Jun 2003 13:52:38 -0700 (PDT) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id C775A43F93 for ; Wed, 4 Jun 2003 13:52:37 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from sysinfo.mezzweb.com ([68.103.37.247]) by lakemtao05.cox.net ESMTP <20030604205237.OPDO28938.lakemtao05.cox.net@sysinfo.mezzweb.com>; Wed, 4 Jun 2003 16:52:37 -0400 Date: Wed, 04 Jun 2003 15:38:18 -0500 To: "Matthew N. Dodd" Content-Type: text/plain; charset=utf-8; format=flowed References: <20030604010152.GA5775@tombstone.localnet.gomerbud.com> <20030603225021.S52781@sasami.jurai.net> <20030604085236.N52781@sasami.jurai.net> From: Jeremy Messenger MIME-Version: 1.0 Message-ID: In-Reply-To: User-Agent: Opera7.11/Linux M2 build 406 cc: current@freebsd.org Subject: Re: libmap.conf has the bug or not work correct? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 04 Jun 2003 20:52:39 -0000 On Wed, 04 Jun 2003 13:05:26 -0500, Jeremy Messenger wrote: > On Wed, 4 Jun 2003 08:54:07 -0400 (EDT), Matthew N. Dodd > wrote: > >> On Tue, 3 Jun 2003, Jeremy Messenger wrote: >>> ================================ >>> # ./test-libmap /usr/X11R6/bin/ggv libc_r.so.5 >>> Lookup of "libc_r.so.5" for "/usr/X11R6/bin/ggv" -> "libc_r.so.5" >>> ================================ >> >> Looks like its working to me. >> >>> ================================ >>> # ./test-libmap /usr/X11R6/bin/ggv libthr.so.1 >>> [...etmpy...] >>> ================================ >> >> Right, there was on mapping found. >> >> So this isn't a libmap.conf issue. > > I don't understand, so how do you explain about ldd? If I change the main > library and the ldd of ggv will change corrrect the link. If I put ggv > point to a library by use [] and the ldd shows incorrect. Also, the ggv > will crash at all the time, because it needs to be libc_r; not libthr. > So, are you suggest that there's something wrong in somewhere beside > libmap.conf? Nevermind, I think you are right it does work. Because, I did the test on mplayer by install it. It does link mplayer to libc_r correct, while not ggv. Looks like I will have to chase on ggv to find what ggv is depending on and get them link to libc_r.. This must be reason why it doesn't work. Thanks! Cheers, Mezz > Thanks! > > Cheers, > Mezz -- bsdforums.org 's moderator, mezz.