On 15 Oct 2009, at 18:02, Paul Davidson wrote:

Some linker output:
ld: warning: in /Users/pauldavidson/dev/cape96/libmysqlclient.a, file is not of required architecture
Undefined symbols:

[snip]
It goes on...
Do note the 'file is not of required architecture'.  Ummm????

It means that the library contains code for different architectures than the one you are compiling for (e.g., you are compiling for i386 and the library only contains PowerPC or x86_64 object files). That would indeed explain the problem.

You can run
  lipo -info /Users/pauldavidson/dev/cape96/libmysqlclient.a

to see for which architectures the library contains code.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to