On Tuesday, July 2, 2002, at 10:12 PM, Brian Ingerson wrote:
> On 02/07/02 16:34 +1000, Ken Williams wrote: >> Hi, >> >> Me again. I'm working on a group of modules that create Inline >> interfaces to a certain library (libnode.a). Each module seems >> to build fine by itself, but then when I load two such modules >> in the same file, I get errors like this: >> >> dyld: /usr/bin/perl multiple definitions of symbol _HASH_FUNC >> blib/arch/auto/AI/NodeLib/NodeLib.bundle definition of _HASH_FUNC >> blib/arch/auto/AI/NodeLib/DataSet/DataSet.bundle definition of >> _HASH_FUNC > > This seems to be a problem specific to OS X. For some reason it > exposes all > global symbols to other libs when loaded. This should not be > the default IMO. > I'd really like to know how to turn this behaviour off. Any OS > X experts > here? > > Ken, could you see if you have the same problem on Linux (or > something) just > to see if I'm right here. Good idea, I'll give it a shot. It might take me a little while to build the library dependencies, etc. on Linux, but I'll let you know. -Ken
