Comments - Can not load default MySQL library (libmysqlclient.so.18 or libmysqlclient.so)

3 months, 1 week ago Gabor Szollosi

Hi, has your problem been solved?

My problem was similar: - Raspberry Pi B+ - Lazarus project with own mysql database access - It is used SqlDB for mysql database

The new system: - Raspberry Pi 400 (similar PI 4) - aarch64 system - Lazarus 2.2.6, MariaDB 10.11.6 (old database file copied) - SqlDB crash ” Can not load default MySQL library (libmysqlclient.so.18 or libmysqlclient.so)”

Solution: SqlDB replacement Zeos. Install Zeos 8.0 package in Lazarus. Contrary to what is written elsewhere, works on Raspberry PI. The pascal code replacement is minimal. SqlQuary code is the same.

https://wiki.freepascal.org/Zeos_tutorial

This the best install instruction, and download: https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/trunk/packages/lazarus/README.TXT#l5 (use the zcomponentdesign.lpk, not the zcomponent.lpk) https://sourceforge.net/projects/zeoslib/files/

Can i help you for install the Lazarus package if you ask me.

Best regards Gabor from Hungary

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.