
29 Apr
2004
29 Apr
'04
2:37 p.m.
The functions from the rts are ffi:ed into my program but when dynamically loading the module, these functions can't be found ("unknown symbol `lookupSymbol`") and neither can I load the HSrts.o package to make them visible due to duplicate functions ("I found a duplicate definition for symbol makeStableNamezh_fast"). How can I proceed? Can I pass some flag to the linker or such to force them to behave as I want?
Does passing the flag RTLD_GLOBAL to dlopen help? (man dlopen for info about this flag) -- Alastair Reid