Reini Urban wrote: > handle = dlopen(sofile("Encode"), RTLD_NOW|RTLD_NOLOAD); > ptr = dlsym(handle, name); > xpvmg_list[0].xiv_iv = PTR2IV(ptr); Way too specific. Pointing to C data structures from IV slots is a common pattern, sure, but even in the relatively unusual case where the data structures are statically allocated there's no reason to expect that the pointer would correspond to an external-linkage symbol in the module's .so. That they do in the case of Encode is an accident of implementation, not an architectural necessity. -zeframThread Previous | Thread Next