If your compiling a product that includes a dependency of MySQL,
you can easily get the error
configure: error: mysql_config executable not found
I generally don’t see this problem, because I use MySQL binary
tar files, however if you use MySQL packages, such as Ubuntu, you
can easily miss the required dependency.
My currently installed MySQL packages on this Ubuntu machine are:
$ sudo dpkg -l | grep mysql
ii libdbd-mysql 0.8.2-1-4.1 MySQL database server driver for libdbi
ii libdbd-mysql-perl 4.008-1 A Perl5 database interface to the MySQL data
ii libmysqlclient15off 5.1.30really5.0.75-0ubuntu10.2 MySQL database client library
ii libmysqlclient16 5.1.31-1ubuntu2 MySQL database client library
ii libqt4-sql-mysql …
[Read more]