[OpenSIPS-Users] OpenSIPS installation problem
Sandeep Sharma
sandeep.s at imimobile.com
Tue Sep 16 12:25:10 CEST 2014
Hi,
Can you please confirm whether to install mysql 32 bit or 64 package on CentOS 5.8 64 bit machine also is there any mysql version dependencies for open SIP (right now 5.5.39 is installed).
Thanks & Regards
Sandeep Sharma
IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
T +91 9912244250 - Ext: 251
www.imimobile.com
From: Bogdan-Andrei Iancu
Sent: Tuesday, September 16, 2014 2:44 PM
To: Sandeep Sharma ; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem
Funny, the mysql_config should report the /usr/lib64/mysql/ dir and not /usr/lib64 ... Looks like a problem with your mysqlclient package...
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 11:59, Sandeep Sharma wrote:
Hi,
I can locate libmysqlclient.so in /usr/lib64/mysql50/mysql/ and /usr/lib/mysql50/mysql/ folder as per below o/p:-
[root at linux lib64]# locate libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql/libmysqlclient.so.16
/usr/lib/mysql/libmysqlclient.so.16.0.0
/usr/lib/mysql50/mysql/libmysqlclient.so
/usr/lib/mysql50/mysql/libmysqlclient.so.15
/usr/lib/mysql50/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql51/mysql/libmysqlclient.so
/usr/lib/mysql51/mysql/libmysqlclient.so.16
/usr/lib/mysql51/mysql/libmysqlclient.so.16.0.0
/usr/lib64/mysql/libmysqlclient.so.15
/usr/lib64/mysql/libmysqlclient.so.15.0.0
/usr/lib64/mysql/libmysqlclient.so.16
/usr/lib64/mysql/libmysqlclient.so.16.0.0
/usr/lib64/mysql50/mysql/libmysqlclient.so
/usr/lib64/mysql50/mysql/libmysqlclient.so.15
/usr/lib64/mysql50/mysql/libmysqlclient.so.15.0.0
/usr/lib64/mysql51/mysql/libmysqlclient.so
/usr/lib64/mysql51/mysql/libmysqlclient.so.16
/usr/lib64/mysql51/mysql/libmysqlclient.so.16.0.0
Thanks & Regards
Sandeep Sharma
From: Bogdan-Andrei Iancu
Sent: Tuesday, September 16, 2014 1:19 PM
To: Sandeep Sharma ; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem
According to "mysql_config", the libmysqlclient library should be under "/usr/lib64". Do you have an "libmysqlclient.so" in there ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:45, Sandeep Sharma wrote:
Hi,
Below are o/p (I am unable to locate lmysqlclient in my system but all mysql related rpm are installed).
[root at linux db_mysql]# mysql_config --libs
-L/usr/lib64 -lmysqlclient -lpthread -lm -lrt -ldl
[root at linux db_mysql]# locate lmysqlclient
Thanks & Regards
Sandeep Sharma
IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
T +91 9912244250 - Ext: 251
www.imimobile.com
From: Bogdan-Andrei Iancu
Sent: Tuesday, September 16, 2014 1:02 PM
To: Sandeep Sharma ; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem
As it got the linking part, I suppose you have the mysql devel header files. But the linking failed as the mysqlclient library was not found.
Could you check where that lib is located on your system ?
Also, do you have "mysql_config" installed on your system ? if yes, what is the output of "mysql_config --libs"
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:24, Sandeep Sharma wrote:
Hi,
Below are error if make modules is executed:-
[root at linux opensips-1.11.2-tls]# make modules
which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/dialogic/bin:/usr/java/jdk1.6.0_43/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
make[1]: Entering directory `/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
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/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
make: *** [modules] Error 2
Thanks & Regards
Sandeep Sharma
IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
T +91 9912244250 - Ext: 251
www.imimobile.com
From: Bogdan-Andrei Iancu
Sent: Tuesday, September 16, 2014 12:44 PM
To: OpenSIPS users mailling list ; sandeep.s at imimobile.com
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem
Hi,
And what happens if you run "make modules" from command line ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 07:10, Sandeep Sharma wrote:
Hi Team,
I am facing necessary library generation problem while compiling & below are detail:-
Opensips version used: opensips-1.11.2-tls
OS: CentOS 5.8 64 bit
While Compile And Install OpenSIPS through make menuconfig no files are generated in module folder.
/usr/local/opensips_proxy/lib64/opensips/modules
[root at linux modules]# ll
total 0
Thanks in advance
Thanks & Regards
Sandeep Sharma
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140916/24bc66b8/attachment-0001.htm>
More information about the Users
mailing list