Page 1 of 1

Error installing libmysqlclient-dev to C programming

Posted: Thu Dec 21, 2017 6:17 pm
by jfcmartins
Hello!

I'm trying to install libmysqlclient-dev but it keeps giving me this error:

"Package libmysqlclient-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source."

I did this commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libmysqlclient-dev

Any sugestions?

Re: Error installing libmysqlclient-dev to C programming

Posted: Thu Dec 21, 2017 7:20 pm
by rpdom
MySQL has been replaced by MariaDB in Stretch.

You can build against libmariadbclient-dev instead.

Re: Error installing libmysqlclient-dev to C programming

Posted: Fri Dec 22, 2017 10:02 am
by jfcmartins
rpdom wrote:
Thu Dec 21, 2017 7:20 pm
MySQL has been replaced by MariaDB in Stretch.

You can build against libmariadbclient-dev instead.
Thanks! It worked