Robby Griffin wrote:

The dlsym() replacement for MacOS X doesn't use its "handle" parameter, so it has no hope of always finding the proper initModule function from among multiple modules. I noticed this when trying the graphics library, which loads two modules; the second one fails with unknown primitive references. The attached patch works on my MacOS X 10.2 system, but I'm not sure how compatible this is with other dyld implementations.

<dyld_patch.txt>

--Robby

Hi Robby,

This bug was actually reported and fixed in the CVS sources in July this year. So the upcoming release is going to handle multiple dynamic modules.

But thanks for the report anyway!

-- Johan

_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs


Reply via email to