bundle

Darwin 10.5's linker

For anyone that has seen one of:

ld: warning in library.so, file is not of required architecture
or
ld: warning in library.dylib, file is not of required architecture

First double check your -arch options. If you google you'll find lots of examples.

If you're trying to create a -bundle though, and library.so/library.dylib is also a bundle then this will not work. You have to compile the library with -dynamiclib instead.

Syndicate content