dlsym can't use handle returned by dlopen?

Markus Hoenicka markus.hoenicka at mhoenicka.de
Thu Nov 13 00:21:01 PST 2008


Quoting Jeremy Chadwick <koitsu at FreeBSD.org>:

> When I looked at the resulting symbol names using nm or objdump, certain
> characters were prepended to them.  There's a gcc or ld flag which
> disables this behaviour.  I'll have to dig around to remind myself what
> it is.  Once I read about it, it made perfect sense.
>
> Again, if you want me to write some code and provide some output of
> what I'm talking about, I can do so.
>

I'd greatly appreciate any help here. I feel what I'm doing now is  
writing ugly hacks to make things work somehow. I'd prefer to do it  
properly.

regards,
Markus

-- 
Markus Hoenicka
markus.hoenicka at cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



More information about the freebsd-questions mailing list