Date: Thu, 13 Nov 2008 13:21:57 +0100 From: Markus Hoenicka <markus.hoenicka@mhoenicka.de> To: Jeremy Chadwick <koitsu@FreeBSD.org> Cc: freebsd-questions@FreeBSD.org Subject: Re: dlsym can't use handle returned by dlopen? Message-ID: <20081113132157.kvi5u3z2qssswocw@webmail.df.eu> In-Reply-To: <20081113121822.GA20600@icarus.home.lan> References: <18715.28127.306511.577084@yeti.mininet> <20081113042912.GA10018@icarus.home.lan> <20081113090021.less3h5iwwsgwsg4@webmail.df.eu> <20081113081456.GA14564@icarus.home.lan> <20081113092059.gjjufgrxss0gwww0@webmail.df.eu> <20081113082402.GA14906@icarus.home.lan> <20081113121822.GA20600@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Jeremy Chadwick <koitsu@FreeBSD.org>: > As promised: http://www.malkavian.com/~jdc/myprog.tar.gz > > I couldn't figure out what the gcc flag was that I needed to keep > certain characters from getting prepended to the symbol names. I > believe the char added was an underscore, but I could be wrong. > > Either way, the example should help you, I think. (You can change > RTLD_LAZY to RTLD_NOW and it still functions as expected) > Thanks a lot, I'll have a look at it when I get home tonight. regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081113132157.kvi5u3z2qssswocw>