[please keep the list in the loop]
On 08/23/2010 02:04 PM, Sergio Belkin wrote:
2010/8/23 Eric Blake<eblake@xxxxxxxxxx>:
I didn't see any mention of mysql in your sample configure.ac, nor any macro
call that would explain why you are getting this message:
checking for mysql_get_parameters in -lmysqlclient... no
Error: Required library mysqlclient not found. Install it and try again
Are you sure you pasted the right file?
Oops, I've read too fast the mail that I thought that you were talking
about of the configure.ac, so here is the complete configure.ac:
...
AC_CHECK_LIB([mysqlclient],
[mysql_get_parameters],[MYSQLCLIENT="-lmysqlclient"],echo "Error:
Required library mysqlclient not found. Install it and try again"&&
exit 1)
That's the part that wasn't in your original mail.
And from your config.log pastebin:
configure:4272: checking for mysql_get_parameters in -lmysqlclient
configure:4297: g++ -o conftest -g -O2 conftest.cpp -lmysqlclient >&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
At this point, all I can guess is that you haven't installed the
libraries correctly for your system. Can you do a simple command line
test (rather than through autoconf) to rule out whether 'gcc ...
-lmysqlclient' works in isolation for you? Or maybe you are trying to
access a symbol that is exported in newer versions of the library, but
not in the version that you have installed?
--
Eric Blake eblake@xxxxxxxxxx +1-801-349-2682
Libvirt virtualization library http://libvirt.org
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf