Re: DSO loading (dlopen) appearse to be broken somehow

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Wed, 4 Apr 2007 18:04:50 +0400
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
Received on Wed Apr 04 2007 - 12:04:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC