[Lazarus] error code "Can't load default MySQL library("libmysqlclient.so.20" or "libmysqlclient.so"). Check your installation.
Julius
JuuS at mailbox.org
Fri May 25 08:24:05 CEST 2018
On 05/25/2018 05:08 AM, Larry Dalton via Lazarus wrote:
> My application was compiled on lazarus 1.8.2, along with mysql 5.7,
> running on linux 17.2. I have verified that both libmysqlclient.so and
> libmysqlclient.so.20 are in the unit directory that holds the executable
> program. I still get the above error when trying to access the mysql
> database.
>
>
Hi,
here is what I use and it works. They, I believe, always keep these
files pointing to the correct locations:
cSqliteDefaultLibraryLocation64 =
'/usr/lib/x86_64-linux-gnu/libsqlite3.so.0';
cSqliteDefaultLibraryLocation32 =
'/usr/lib/i386-linux-gnu/libsqlite3.so.0';
--
Julius
More information about the Lazarus
mailing list