Page 1 of 1

Client-Library sfound but could not be loaded. Check compile-target and library compatibility!

Posted: 23.02.2022, 15:58
by ramacan
i just installed zeos on lazarus on linux mint device, and created database in phpmyadmin. when I enable Zquery to true, an error like this occurs

Image

does anyone know why this is happening, did I write the LibraryLocation address wrong on ZConnection?
if that's the case, where is the mysql location library located?

Re: Client-Library sfound but could not be loaded. Check compile-target and library compatibility!

Posted: 24.02.2022, 13:40
by marsupilami
Hello ramacan,

what Zeos tries to say here is: The library file that you set in LibraryLocation exists but it cannot be loaded for some reason. Usually that happens if you have 64 bit library and set your Lazarus to generate 32 bit applications or vice versa.

Best regards,

Jan