Message 62700 - Python tracker
The limitation is genuine; it's not possible to implement dl_call correctly if sizeof(long) != sizeof(void*), say. Otherwise, it would have been fixed long ago. Use ctypes instead, if that is supported for your hardware. (More generally, it's not possible to implement this at all in portable C, that's why ctypes uses assembler code. That dl works on most "pure" 32-bit systems is by sheer luck)