Added libmysqlclient.a to the project and it gets automatically included in Tagets/cape96/Link Binary With Libraries. Again same linker errors: Symbols not found. Also tried libmysqlclient.la. Same result.

When looking at examples and tests in FPC for MySQL they do not contain any references to this library.

Any further hints?

Thank you


On 2009-10-15, at 7:13 AM, Jonas Maebe wrote:


On 14 Oct 2009, at 18:14, Paul Davidson wrote:

FPC 2.2.4
OS X 10.6.1
Xcode 3.2

All references to MySQL function are unresolved by linker. libMySQLclient.a is copied to .pas directory. Using FPC test code for MySQL as template.

When you use Xcode, you have to use the Xcode way to link with libraries: add the library to your project, then add the library to the "Link binary with Libraries" phase of your application target.


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

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

Reply via email to