Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 18:04:50 +0400
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Andrey Chernov <ache@freebsd.org>, Alexander Kabaev <kabaev@gmail.com>, current@freebsd.org, ports@freebsd.org
Subject:   Re: DSO loading (dlopen) appearse to be broken somehow
Message-ID:  <20070404140450.GM26348@codelabs.ru>
In-Reply-To: <20070404133529.GA40652@nagual.pp.ru>
References:  <20070404101321.GA37396@nagual.pp.ru> <20070404082346.64ce25cd@kan.dnsalias.net> <20070404125735.GA40094@nagual.pp.ru> <20070404090944.1a13e96f@kan.dnsalias.net> <20070404133529.GA40652@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404140450.GM26348>