RTLD_GLOBAL not available on FreeBSD 3.x

Alastair Reid reid at cs.utah.edu
Wed Apr 18 14:30:28 EDT 2001


The RTLD_GLOBAL symbol (used as an argument to dlopen in rts/Linker.c)
is not available on FreeBSD 3.x.

I'm replacing the offending line as follows

//   hdl = dlopen(buf, RTLD_NOW | RTLD_GLOBAL );
   hdl = dlopen(buf, RTLD_LAZY );

and hoping for the best.

SimonM: is RTLD_GLOBAL available on more modern FreeBSD's?


-- 
Alastair Reid        reid at cs.utah.edu        http://www.cs.utah.edu/~reid/




More information about the Glasgow-haskell-bugs mailing list