Hi,

When we are trying to compile using ./configure --with-mysql the following 
errors are noticed in the config.log file.

Please someone help us in resolving the same.

Thanks,
Aakash

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_config
checking mysql version... 5.1.58
checking mysql reentrant libs... -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -
lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto
checking for mysql_init in -lmysqlclient_r... no
checking mysql libs... -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -
lnsl -lm -lssl -lcrypto
checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries



configure:8300: result: yes
configure:8305: checking whether to compile with SSL support
configure:8307: result: yes
configure:8350: checking whether to compile with MySQL support
configure:8372: result: searching
configure:8376: checking for mysql_config
configure:8395: found /usr/bin/mysql_config
configure:8408: result: /usr/bin/mysql_config
configure:8475: checking mysql version
configure:8478: result: 5.1.58
configure:8483: checking mysql reentrant libs
configure:8485: result: -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -
lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto
configure:8487: checking for mysql_init in -lmysqlclient_r
configure:8512: gcc -std=gnu99 -o conftest -g -O2 -D_XOPEN_SOURCE=600 -
D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl   -
rdynamic conftest.c -lmysqlclient_r  -rdynamic -L/usr/lib64/mysql -
lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto  -lssl -
lrt -lresolv -lnsl -lm  -lpthread -lxml2 -lz -lm -L/usr/lib64 -lcrypto -lssl >&5
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
configure:8512: $? = 1
configure: failed program was:
| /* confdefs.h */



Reply via email to