Igor Schein on Fri, 6 Sep 2002 12:09:41 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: problem configuring under FreeBSD-4.6


On Fri, Sep 06, 2002 at 06:01:03PM +0200, Bill Allombert wrote:
> On Fri, Sep 06, 2002 at 11:35:22AM -0400, Igor Schein wrote:
> > Hi,
> > 
> > (hopefully) last remaining problem with FreeBSD - make dobench fails
> > for static binary (dynamic is fine):
> 
> dlopen'ing symbols inside an executable is a feature supported by few systems.
> I don't know if FreeBSD is among them.
> 
> FreeBSD dlopen manpage read:
> 
> ELF executables need to be linked using the -export-dynamic option to
> ld(1) for symbols defined in the executable to become visible to dlsym().
> 
> Can you test that ?

-export-dynamic does fix the problem, thanks

Igor