Date: Mon, 22 Feb 1999 19:27:59 +0000 From: Damian Hamill <damian@cablenet.net> To: Terry Lambert <tlambert@primenet.com>, hackers@freebsd.org Subject: Re: Interesting ld.so bug Message-ID: <36D1AFBF.58BCFFEF@cablenet.net> References: <199902202154.OAA18160@usr08.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: > > There appears to be a bug with ld.so. The following steps illustrate > the bug: > I've recently installed version 3 on a system and upgraded to 3.1 and noticed dynamic loading strangeness too. The Apache port won't load dynamic modules as it can't resolve some of the undefined symbols from the module being loaded which are contained in the loading process, ap_make_sub_pool for example. Using dlsym(NULL,"symbol_name") in one of my own dynamically loaded modules fails to find "symbol_name" in the loading process, contrary to the man page and previous behaviour. Similarly I find that I now don't need a leading underscore before the symbol name to resolve symbols in the module being loaded from the loading process, again contrary to the man page and previous behaviour. Is this all part of the transition to elf ? Do I need to add -elf to CFLAGS ? regards damian -- * Damian Hamill M.D. damian@cablenet.net * CableNet & The Landscape Channel * http://www.cablenet.net/ http://www.landscapetv.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D1AFBF.58BCFFEF>
