Subject: Re: OS/X linker problems
To: Dan Winship <danw@NetBSD.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 12/05/2003 11:53:06
>
> On Dec 3, 2003, at 2:13 AM, MLH wrote:
> > Mac OS/X exhibits linking problems with many pkgsrc packages,
> > whereby the linker can't locate symbols in a library compiled via
>
> The problem isn't missing symbols, it's *duplicate* symbols. libgconf
> and liboaf are both trying to define CORBA_sequence_CORBA_string. For
> some reason, the ELF linker allows this without complaint, but Mach-O
> won't.
> I think the easiest fix in this case is to patch gconf to not use
> sequence<string> in its idl (by typedef'ing something else to string
> and using a sequence of that instead). That won't cause any problems
> with other packages, since gconf's idl file isn't installed and isn't
> part of its ABI. But if there are other places where two *installed*
> idl files both use sequence<string>, it might be harder to fix.
It was mentioned privately that "libtool 1.5 addresses a bunch of
these issues on OSX. updating pkgsrc to libtool 1.5 is in progress..."
Hopefully the will be a libtool 1.5 update soon. Almost every pkgsrc
package I try to build on OS/X is foiled by this problem.