April 1, 2010
2:53 p.m.
Hello all, I am trying to use dlsym() which means I have to call dlopen(), and it is crashing with messages such as Inconsistency detected by ld.so: dl-open.c: 643: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed! I am calling it as follows: dlOpen:aString mode:int < cdecl: void* 'dlopen' ( char* long ) > ^ self externalCallFailed. With zero for the mode parameter, it runs but returns an null handle; with 2 (now) or 10 (now|global), it crashes. Any ideas or working examples? Bill