[SR-Users] Compile with mysql error

David Cunningham dcunningham at voisonics.com
Mon Jun 17 00:34:34 CEST 2013


Hello,

We have a system which Kamailio fails to compile mysql support on, even
though the library is installed.

The mysql packages are:
MySQL-client.x86_64
5.5.28-1.rhel5                                    installed
MySQL-devel.x86_64
5.5.32-1.rhel5                                    installed
MySQL-server.x86_64
5.5.28-1.rhel5                                    installed
MySQL-shared-compat.x86_64
5.5.28-1.rhel5                                    installed

The error from the Kamailio install is:
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: *** [db_mysql.so] Error 1
make: *** [install-modules] Error 1
make: Leaving directory `/usr/src/kamailio-3.3.2'

Would anyone be able to advise please? Thanks in advance.

-- 
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130617/80bdd10f/attachment.html>


More information about the sr-users mailing list