DSO loading (dlopen) appearse to be broken somehow

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Apr 4 14:25:02 UTC 2007


Andrey, good day.

Wed, Apr 04, 2007 at 05:35:29PM +0400, Andrey Chernov wrote:
> On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote:
> > > 1) The symbols in question are all _defined_ inside main httpd
> > > program. 
> > 
> > objdump -T output goes here.
> 
> Those symbols are in 'nm' table of httpd like this
> 0804a84a T ap_palloc
> but not found in its objdump -T output. 
> 
> Why and how it may happens?

Try '-Wl,--export-dynamic' flag to the gcc (or just --export-dynamic to
the ld), it may help you.
-- 
Eygene


More information about the freebsd-ports mailing list