[OpenSIPS-Users] OpenSIPS installation problem

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 16 09:49:04 CEST 2014


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.com

On 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 <mailto:bogdan at opensips.org>
> *Sent:* Tuesday, September 16, 2014 1:02 PM
> *To:* Sandeep Sharma <mailto:sandeep.s at imimobile.com> ; OpenSIPS users 
> mailling list <mailto:users at lists.opensips.org>
> *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.com
> On 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 <mailto:bogdan at opensips.org>
>> *Sent:* Tuesday, September 16, 2014 12:44 PM
>> *To:* OpenSIPS users mailling list <mailto:users at lists.opensips.org> 
>> ; sandeep.s at imimobile.com <mailto: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.com
>> On 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/d7a4d5ad/attachment-0001.htm>


More information about the Users mailing list