Hello,
# find / -name libmysqlclient*.so*
/usr/lib64/libmysqlclient_r.so.16.0.0
/usr/lib64/libmysqlclient.so.16
/usr/lib64/libmysqlclient_r.so.15.0.0
/usr/lib64/libmysqlclient_r.so.14.0.0
/usr/lib64/libmysqlclient.so.16.0.0
/usr/lib64/libmysqlclient.so.14.0.0
/usr/lib64/libmysqlclient_r.so.16
/usr/lib64/libmysqlclient.so.15.0.0
/usr/lib64/libmysqlclient_r.so.12.0.0
/usr/lib64/libmysqlclient.so.12
/usr/lib64/libmysqlclient_r.so.12
/usr/lib64/libmysqlclient.so.12.0.0
/usr/lib64/libmysqlclient_r.so.14
/usr/lib64/libmysqlclient.so.14
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/libmysqlclient.so.15
I will try the verbose compile, thank you.
On 17 June 2013 08:43, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
Hello,
On 6/17/13 12:34 AM, David Cunningham wrote:
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.
is there any mysql_config or mysql_config5 tool installed in the system?
Can you locate the files by pattern libmysqlclient*.so* and see if they
are in standard lib path?
Also, you can go to db_mysql module and compile it in verbose mode:
cd modules/db_mysql
make proper
make Q=0
look after -L paths to see where they point.
Cheers,
Daniel
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/**miconda<http://www.linkedin.com/in/miconda&…
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
*
http://asipto.com/u/katu *
______________________________**_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http:/…
--
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019