From owner-freebsd-hackers Mon Aug 18 14:59:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA20723 for hackers-outgoing; Mon, 18 Aug 1997 14:59:00 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA20716; Mon, 18 Aug 1997 14:58:54 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA03256; Mon, 18 Aug 1997 15:58:50 -0600 (MDT) Date: Mon, 18 Aug 1997 15:58:50 -0600 (MDT) Message-Id: <199708182158.PAA03256@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Jordan K. Hubbard" Cc: hackers@freebsd.org Subject: Re: [Fwd: Re: Please Help Me Understand dlopen()] In-Reply-To: <33F869F3.446B9B3D@FreeBSD.org> References: <33F869F3.446B9B3D@FreeBSD.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hmmm - any comments, ld hackers? > > The freeBSD dlsym() is - as far as I know - the only dlsym() > implementation that doesn't search for _funktion() ... Here's a quick and dirty patch that implements it. I tested it locally w/out any problems, but it has lots of possible problems. 1) If fails to prepend another underscore if the symbol already is underscored. 2) I haven't tested it enough on the entire system. 3) It might not be the correct solution. > I also complained about dlopen() not searching LD_LIBRARY_PATH. I didn't even attempt to look at this. Nate