<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi Liviu,</DIV>
<DIV> </DIV>
<DIV>After executing trailing mail option also same problem persists, is there
any dependencies of mysql package i.e, 32 bit or 64 bit coz right now mysql 64
bit package is installed.</DIV>
<DIV> </DIV>
<DIV><FONT color=black>Thanks & Regards</FONT><BR><B><FONT
color=black>Sandeep Sharma</FONT></B><BR></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=liviu@opensips.org
href="mailto:liviu@opensips.org">Liviu Chircu</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 16, 2014 2:49 PM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">users@lists.opensips.org</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] OpenSIPS installation
problem</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV class=moz-cite-prefix><TT>Hello Sandeep,<BR><BR>Two quick
solutions:<BR><BR>a) configure linker to look in /usr/lib/mysql as
well<BR> echo -e '/usr/lib/mysql\n/usr/lib64/mysql' >
/etc/ld.so.conf.d/mysql<BR> ldconfig<BR><BR>b) simply create
some additional symbolic links<BR> ln -s
</TT><TT>/usr/lib/mysql/libmysqlclient.so
</TT><TT>/usr/lib/libmysqlclient.so</TT><BR><TT><TT> ln -s
</TT><TT>/usr/lib64/mysql/libmysqlclient.so
</TT><TT>/usr/lib64/libmysqlclient.so</TT><BR><BR>Best regards,<BR></TT><PRE class=moz-signature cols="72">Liviu Chircu
OpenSIPS Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</A></PRE>On
09/16/2014 11:59 AM, Sandeep Sharma wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:F9C8B64B48DD4E999AF27538B155570B@imidomain.com
type="cite"><DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I can locate libmysqlclient.so in <STRONG>/usr/lib64/mysql50/mysql/ and
/usr/lib/mysql50/mysql/ folder as per below o/p:-</STRONG></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>[root@linux lib64]# locate libmysqlclient.so</DIV>
<DIV>/usr/lib/mysql/libmysqlclient.so.15</DIV>
<DIV>/usr/lib/mysql/libmysqlclient.so.15.0.0</DIV>
<DIV>/usr/lib/mysql/libmysqlclient.so.16</DIV>
<DIV>/usr/lib/mysql/libmysqlclient.so.16.0.0</DIV>
<DIV>/usr/lib/mysql50/mysql/libmysqlclient.so</DIV>
<DIV>/usr/lib/mysql50/mysql/libmysqlclient.so.15</DIV>
<DIV>/usr/lib/mysql50/mysql/libmysqlclient.so.15.0.0</DIV>
<DIV>/usr/lib/mysql51/mysql/libmysqlclient.so</DIV>
<DIV>/usr/lib/mysql51/mysql/libmysqlclient.so.16</DIV>
<DIV>/usr/lib/mysql51/mysql/libmysqlclient.so.16.0.0</DIV>
<DIV>/usr/lib64/mysql/libmysqlclient.so.15</DIV>
<DIV>/usr/lib64/mysql/libmysqlclient.so.15.0.0</DIV>
<DIV>/usr/lib64/mysql/libmysqlclient.so.16</DIV>
<DIV>/usr/lib64/mysql/libmysqlclient.so.16.0.0</DIV>
<DIV>/usr/lib64/mysql50/mysql/libmysqlclient.so</DIV>
<DIV>/usr/lib64/mysql50/mysql/libmysqlclient.so.15</DIV>
<DIV>/usr/lib64/mysql50/mysql/libmysqlclient.so.15.0.0</DIV>
<DIV>/usr/lib64/mysql51/mysql/libmysqlclient.so</DIV>
<DIV>/usr/lib64/mysql51/mysql/libmysqlclient.so.16</DIV>
<DIV>/usr/lib64/mysql51/mysql/libmysqlclient.so.16.0.0</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><FONT
color=black>Thanks & Regards</FONT><BR><B><FONT color=black>Sandeep
Sharma</FONT></B><BR></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=bogdan@opensips.org
href="mailto:bogdan@opensips.org" moz-do-not-send="true">Bogdan-Andrei
Iancu</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 16, 2014 1:19 PM</DIV>
<DIV><B>To:</B> <A title=sandeep.s@imimobile.com
href="mailto:sandeep.s@imimobile.com" moz-do-not-send="true">Sandeep
Sharma</A> ; <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org" moz-do-not-send="true">OpenSIPS users
mailling list</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] OpenSIPS installation
problem</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV class=moz-cite-prefix><TT>Acco</TT><TT>rding to "mysql</TT><TT>_config",
the libmysqlclient library </TT><TT>should be under "/usr/lib64". Do you have
an "</TT><TT>libmysqlclient.so</TT><TT>" in there
?</TT><TT><BR></TT><TT><BR></TT><TT>Regards,</TT><BR><PRE class=moz-signature cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</A></PRE>On
16.09.2014 10:45, Sandeep Sharma wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:97BD25FDE1E5453881746E8118DD7744@imidomain.com
type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Below are o/p (I am unable to locate lmysqlclient in my system but all
mysql related rpm are installed).</DIV>
<DIV> </DIV>
<DIV>[root@linux db_mysql]# mysql_config --libs</DIV>
<DIV>-L/usr/lib64 -lmysqlclient -lpthread -lm -lrt -ldl</DIV>
<DIV> </DIV>
<DIV>[root@linux db_mysql]# locate lmysqlclient</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><FONT
color=black>Thanks & Regards</FONT><BR><B><FONT color=black>Sandeep
Sharma</FONT></B><BR><B><FONT color=#e8a317>IMImobile
</FONT></B><SMALL><FONT color=black>Plot 770, Rd. 44 Jubilee Hills,
Hyderabad - 500033.</FONT><BR></SMALL><B><FONT color=#e8a317>T
</FONT></B><SMALL><FONT color=black>+91 9912244250 - Ext:
251</FONT><BR></SMALL><U><B><FONT color=blue><A
class=moz-txt-link-abbreviated href="http://www.imimobile.com"
moz-do-not-send="true">www.imimobile.com</A></FONT></B></U> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=bogdan@opensips.org
href="mailto:bogdan@opensips.org" moz-do-not-send="true">Bogdan-Andrei
Iancu</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 16, 2014 1:02 PM</DIV>
<DIV><B>To:</B> <A title=sandeep.s@imimobile.com
href="mailto:sandeep.s@imimobile.com" moz-do-not-send="true">Sandeep
Sharma</A> ; <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org" moz-do-not-send="true">OpenSIPS users
mailling list</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] OpenSIPS installation
problem</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV class=moz-cite-prefix><TT>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.<BR>Could you check where that lib is located on your
system ?<BR><BR>Also, do you have "mysql_config" installed on your system ?
if yes, what is the output of "mysql_config --libs"<BR><BR>Regards,<BR></TT><PRE class=moz-signature cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</A></PRE>On
16.09.2014 10:24, Sandeep Sharma wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:6593046D8F5C4E4A96BD28FCD9FEA49D@imidomain.com
type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Below are error if make modules is executed:-</DIV>
<DIV> </DIV>
<DIV>[root@linux opensips-1.11.2-tls]# make modules</DIV>
<DIV>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)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>make[1]: Entering directory
`/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'</DIV>
<DIV>Linking db_mysql.so</DIV>
<DIV>/usr/bin/ld: cannot find -lmysqlclient</DIV>
<DIV>collect2: ld returned 1 exit status</DIV>
<DIV>make[1]: *** [db_mysql.so] Error 1</DIV>
<DIV>make[1]: Leaving directory
`/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'</DIV>
<DIV>make: *** [modules] Error 2</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><FONT
color=black>Thanks & Regards</FONT><BR><B><FONT color=black>Sandeep
Sharma</FONT></B><BR><B><FONT color=#e8a317>IMImobile
</FONT></B><SMALL><FONT color=black>Plot 770, Rd. 44 Jubilee Hills,
Hyderabad - 500033.</FONT><BR></SMALL><B><FONT color=#e8a317>T
</FONT></B><SMALL><FONT color=black>+91 9912244250 - Ext:
251</FONT><BR></SMALL><U><B><FONT color=blue><A
class=moz-txt-link-abbreviated href="http://www.imimobile.com"
moz-do-not-send="true">www.imimobile.com</A></FONT></B></U> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=bogdan@opensips.org
href="mailto:bogdan@opensips.org" moz-do-not-send="true">Bogdan-Andrei
Iancu</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 16, 2014 12:44 PM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org" moz-do-not-send="true">OpenSIPS
users mailling list</A> ; <A title=sandeep.s@imimobile.com
href="mailto:sandeep.s@imimobile.com"
moz-do-not-send="true">sandeep.s@imimobile.com</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] OpenSIPS installation
problem</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV class=moz-cite-prefix><TT>Hi,<BR><BR>And what happens if you run
"make modules" from command line ?<BR><BR>Regards,<BR></TT><PRE class=moz-signature cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</A></PRE>On
16.09.2014 07:10, Sandeep Sharma wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:57BEB26F5B064310ABEE7B48DF72F066@imidomain.com
type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi Team,</DIV>
<DIV> </DIV>
<DIV>I am facing necessary library generation problem while compiling
& below are detail:-</DIV>
<DIV> </DIV>
<DIV>Opensips version used: <STRONG>opensips-1.11.2-tls</STRONG></DIV>
<DIV><STRONG>OS: CentOS 5.8 64 bit</STRONG></DIV>
<DIV> </DIV>
<DIV>While Compile And Install OpenSIPS through make menuconfig no files
are generated in module folder.</DIV>
<DIV> </DIV>
<DIV>/usr/local/opensips_proxy/lib64/opensips/modules</DIV>
<DIV>[root@linux modules]# ll</DIV>
<DIV>total 0</DIV>
<DIV> </DIV>
<DIV>Thanks in advance</DIV>
<DIV> </DIV>
<DIV
style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><FONT
color=black>Thanks & Regards</FONT><BR><B><FONT color=black>Sandeep
Sharma</FONT></B><BR></DIV></DIV></DIV><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</A>
<A class=moz-txt-link-freetext href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></BLOCKQUOTE><BR></DIV></DIV></DIV></BLOCKQUOTE><BR></DIV></DIV></DIV></BLOCKQUOTE><BR></DIV></DIV></DIV><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A>
<A class=moz-txt-link-freetext href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></BLOCKQUOTE><BR>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>