Date: Tue, 3 Jun 2003 18:01:52 -0700 From: "David P. Reese Jr." <daver@gomerbud.com> To: Jeremy Messenger <mezz7@cox.net> Cc: current@freebsd.org Subject: Re: libmap.conf has the bug or not work correct? Message-ID: <20030604010152.GA5775@tombstone.localnet.gomerbud.com> In-Reply-To: <oprp7lhmuh8ckrg5@smtp.central.cox.net> References: <oprp7lhmuh8ckrg5@smtp.central.cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 03, 2003 at 03:50:00PM -0500, Jeremy Messenger wrote: > I am trying to get ggv link against libc_r instead libthr, but it doesn't > work as expect.. Maybe, I must have done something wrong? Make sure that you have rev 1.6 of src/libexec/rtld-elf/libmap.c. It fixes a bug in the libmap.conf parsing code. > ============================ > # 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 > ============================ > > ============================ > # uname -a > FreeBSD personal.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jun 2 > 20:23:45 CDT 2003 > mezz@personal.mezzweb.com:/usr/obj/usr/src/sys/BSDRULZ i386 > ============================ > > I even rebuilt rtld-elf (WITH_LIBMAP=yes in /etc/make.conf) and ggv then > reinstall them, but no luck. The ggv is still linking to libthr instead > libc_r.. Also, ggv isn't only one app that I tried. I did tried with gst- > register and no luck to change the link to libc_r. > > ============================ > # ldd /usr/X11R6/bin/ggv | grep libc > libc.so.5 => /usr/lib/libc.so.5 (0x28a68000) > libc_r.so.5 => /usr/lib/libthr.so.1 (0x28b49000) > ============================ > > Do anyone have any hint? > > Cheers, > Mezz > > > -- > bsdforums.org 's moderator, mezz. -- David P. Reese Jr. daver@gomerbud.com -------------------------------------------------------------------------- It can be argued that returning a NULL pointer when asked to allocate zero bytes is a silly response to a silly question. -- FreeBSD manual page for malloc(3)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030604010152.GA5775>