From owner-freebsd-current@FreeBSD.ORG Tue Jun 3 20:18:00 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 7A9C437B401 for ; Tue, 3 Jun 2003 20:18:00 -0700 (PDT) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5409E43FB1 for ; Tue, 3 Jun 2003 20:17:59 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from sysinfo.mezzweb.com ([68.103.37.247]) by lakemtao06.cox.net ESMTP <20030604031759.QPYU23505.lakemtao06.cox.net@sysinfo.mezzweb.com>; Tue, 3 Jun 2003 23:17:59 -0400 Date: Tue, 03 Jun 2003 22:03:44 -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> From: Jeremy Messenger MIME-Version: 1.0 Message-ID: In-Reply-To: <20030603225021.S52781@sasami.jurai.net> User-Agent: Opera7.11/Linux M2 build 406 cc: "David P. Reese Jr." 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 03:18:00 -0000 On Tue, 3 Jun 2003 22:51:59 -0400 (EDT), Matthew N. Dodd wrote: > On Tue, 3 Jun 2003, Jeremy Messenger wrote: >> It seems like the [/path/to/exec] and [exec] don't work? > > ftp://ftp.jurai.net/users/winter/libmap-test.tar > > Untar that in src/libexec/rtld-elf/ > cd test/ > make > ./test-libmap /path/to/exec library-name ================================ # ./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" ================================ ================================ # ./test-libmap /usr/X11R6/bin/ggv libthr.so.1 [...etmpy...] ================================ ================================ # cat /etc/libmap.conf libc_r.so.5 libthr.so.1 libc_r.so libthr.so [/usr/X11R6/bin/ggv] libc_r.so.5 libc_r.so.5 libc_r.so libc_r.so [ggv] libc_r.so.5 libc_r.so.5 libc_r.so libc_r.so ================================ Cheers, Mezz -- bsdforums.org 's moderator, mezz.