[OpenSIPS-Users] /usr/bin/ld: cannot find -lmysqlclient

Jerry Richards jerry.richards at teotech.com
Thu Jun 21 22:22:26 CEST 2012


Do you know why I'm getting a build error using 64-bit CentOS 5.7 and OpenSIPS 1.8 using the following command line?
make prefix=/opt/opensips all include_modules="db_mysql presence presence_xml presence_mwi presence_dialoginfo"

Here's the error:
Linking db_mysql.so
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: *** [db_mysql.so] Error 1
make[1]: Leaving directory `/home/TeoUser/work/opensips.org/opensips_1_8/modules/db_mysql'
make: *** [modules] Error 2

Here's the mysql packages installed:
MySQL-Cluster-shared-compat-gpl.i386   7.2.5-1.rhel5   installed
MySQL-Cluster-shared-compat-gpl.x86_64 7.2.5-1.rhel5   installed
MySQL-client.i386                      5.5.22-1.rhel5  installed
MySQL-client.x86_64                    5.5.22-1.rhel5  installed
MySQL-devel.i386                       5.5.22-1.rhel5  installed
MySQL-devel.x86_64                     5.5.22-1.rhel5  installed
MySQL-server.i386                      5.5.22-1.rhel5  installed
MySQL-server.x86_64                    5.5.22-1.rhel5  installed
MySQL-shared-compat.i386               5.5.22-2.rhel5  installed
MySQL-shared-compat.x86_64             5.5.22-2.rhel5  installed
MySQL-test.i386                        5.5.22-1.rhel5  installed
MySQL-test.x86_64                      5.5.22-1.rhel5  installed

Thanks,
Jerry


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120621/f6f83e6e/attachment-0001.htm>


More information about the Users mailing list