Lazarus

Programming => General => Topic started by: malmax71 on March 13, 2018, 08:55:22 am

Title: Program used mysql, compil in Debian Stretch to execute in Jessie
Post by: malmax71 on March 13, 2018, 08:55:22 am
Hello. Developed a program that uses Tmysql55connection to access the database on the Debian Jessie platform. After a while it was necessary to make changes. By that time I had already updated my system to Stretch and, accordingly, switched to MariaDB. Actually, the problem: compiled software does not start with clients who have Jessie, requires libmariadbclient.so. Is there a way to compile so that it works? Naturally, in addition to the options to update customers to Stretch or to rollback myself to Jessie.
Title: Re: Program used mysql, compil in Debian Stretch to execute in Jessie
Post by: Thaddy on March 13, 2018, 10:09:23 am
Although on Jessie MySql is probably still default, the Debian apt repository of Jessie can install MariaDb. That should solve the issue.
The other way around is also possible: Install MySql from the Stretch repositories, but I guess you may want the first option.

Simply solve the dependency either way.
TinyPortal © 2005-2018