On 08/23/2010 02:26 PM, Sergio Belkin wrote:
2010/8/23 Eric Blake<eblake@xxxxxxxxxx>:
[please keep the list in the loop]
[I reiterate - I do NOT want these mails coming only to me, when I have
asked for them to go to the list]
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?
--
Yes I could run:
g++ -o testUpThreadWorkDistributor -ansi -mtune=i686 -march=i686
-Iinclude -Wall -Wno-deprecated -g -DDEBUG -ggdb -L/usr/lib/mysql
testUpThreadWorkDistributor.cc libUpTools.a -lpthread -lmysqlclient
-lcrypto -lssl /usr/lib/libresolv.a
Ah - the difference is the presence of -L/usr/lib/mysql in the working
command line. For your configure test to work, you'd also have to
provide that same -L option to LDFLAGS prior to using AC_CHECK_LIB (or
the better AC_SEARCH_LIBS).
--
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