Dynamic loading problem

Alastair Reid alastair at reid-consulting-uk.ltd.uk
Thu Apr 29 20:37:13 EDT 2004


> 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


More information about the Glasgow-haskell-users mailing list