RTLD_GLOBAL not available on FreeBSD 3.x
Simon Marlow
simonmar at microsoft.com
Mon Apr 23 11:32:33 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?
I guess it must be, because I never had any trouble with this code on
FreeBSD 4.x.
While we're on the subject of FreeBSD: I'll be updating the FreeBSD
package in the next week or so and sending the changes to the FreeBSD
ports folk. Last time I checked (about a month ago), GHCi works fine on
FreeBSD 4.x.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list