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


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to