On 23 Jun 2008, at 08:47, Harald Lapp wrote:

2008/6/22 Jonas Maebe <[EMAIL PROTECTED]>:


Add the following to your program:

{$linklib mysql50}

The reason that this is not necessary on other platforms, is that they implicitly add that based on the external declarations. This was disabled for Darwin when initially porting FPC to that platform because a lot of
those external library declarations were wrong there. This was never
properly resolved later on, hence the need to still explicitly add the
{$linklib ...} statements for Darwin.

this solved my problem -- thanks very much!!

It did? I've now googled a bit and it seems that mysql50 cannot be the correct name. Did you perhaps use another name in your linklib statement?


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

Reply via email to