* Howard Chu wrote on Sun, Dec 06, 2009 at 05:39:02AM CET: > Sam Varshavchik wrote: > >I'm trying to come up with logic to figure out what I need to pass to > >lt_dlopen(), or lt_dlopenext() in order to obtain the standard C runtime > >library, for the purposes of using lt_dlsym() to find common library > >functions, such as open(), connect(), etc…
> None of this guesswork should be needed. Since the main program > already depends on libc, you should be able to lt_dlopen(NULL) and > reference the main program to find libc's symbols. What's more, in the vast majority of typical cases, the module itself already depends on libc, so you can just use open, connect etc. directly, without ever going through lt_dlsym or the like. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool