Re: [SR-Users] Compile with mysql error

2013-06-20 Thread David Cunningham
This worked. Thank you very much! On 19 June 2013 22:33, Daniel-Constantin Mierla wrote: > Hello, > > make a symbolic link to the version you want to use, like: > > ln -s /usr/lib64/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient.so > > Cheers, > Daniel > > > On 6/17/13 12:45 AM, David Cunn

Re: [SR-Users] Compile with mysql error

2013-06-19 Thread Daniel-Constantin Mierla
Hello, make a symbolic link to the version you want to use, like: ln -s /usr/lib64/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient.so Cheers, Daniel On 6/17/13 12:45 AM, David Cunningham wrote: Hello, # find / -name libmysqlclient*.so* /usr/lib64/libmysqlclient_r.so.16.0.0 /usr/lib64/libm

Re: [SR-Users] Compile with mysql error

2013-06-18 Thread David Cunningham
Hi Daniel, The output of "make Q=0" is as follows. The library is at /usr/lib64/libmysqlclient.so.16 and I see the -L option is "/usr/lib64", so does the -l option need to be changed? [root@dev01 db_mysql]# make Q=0 config.mak included config.mak included gcc -fPIC -DPIC -g -O9 -funroll-loops -Wc

Re: [SR-Users] Compile with mysql error

2013-06-16 Thread David Cunningham
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

Re: [SR-Users] Compile with mysql error

2013-06-16 Thread David Cunningham
Hello, This is on CentOS 5.8. The Mysql packages were installed manually to have a higher Mysql version than is shipped with CentOS. Thanks. On 17 June 2013 08:42, Konstantin M. wrote: > Hello, > What is a distro ? > > > 2013/6/17 David Cunningham > >> Hello, >> >> We have a system which Kam

Re: [SR-Users] Compile with mysql error

2013-06-16 Thread Daniel-Constantin Mierla
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.

Re: [SR-Users] Compile with mysql error

2013-06-16 Thread Konstantin M.
Hello, What is a distro ? 2013/6/17 David Cunningham > 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.rhel5installed > MySQL-de

[SR-Users] Compile with mysql error

2013-06-16 Thread David Cunningham
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.rhel5installed MySQL-devel.x86_64 5.5.32-1.rhel5installed My