[fpc-pascal] MySQL
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Oct 16 09:57:20 CEST 2009
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
More information about the fpc-pascal
mailing list