loading multiple modules in MacOS X
Johan Nordlander
nordland@cs.chalmers.se
Thu, 31 Oct 2002 09:38:59 +0100
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