[fpc-pascal] MySQL

Paul Davidson pdavidson at coraxnetworks.com
Fri Oct 16 14:16:22 CEST 2009


dsl-corax:~ pauldavidson$ lipo -info /Users/pauldavidson/dev/cape96/ 
libmysqlclient.a
input file /Users/pauldavidson/dev/cape96/libmysqlclient.a is not a  
fat file
Non-fat file: /Users/pauldavidson/dev/cape96/libmysqlclient.a is  
architecture: x86_64


Noted that Xcode is set for 32 bit universal output.  Tried setting it  
to 10.6 / 64 bit output but:

  can't build libfpc.a for x86_64 (ppcx64 not found)
mv: rename /Users/pauldavidson/dev/cape96/build/cape96.build/Debug/ 
fpc.build/libfpc.a to /Users/pauldavidson/dev/cape96/build/Debug/ 
libfpc.a: No such file or directory


Thank you

Off topic:  Friend of mine :)  http://wheresthefilm.com/Insects/Beetles/slides/StackBeetle02.html



> 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091016/6effaf31/attachment.html>


More information about the fpc-pascal mailing list