<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Funny, the mysql_config should r</tt><tt>eport
the </tt><tt>/usr/lib64/mysql/ dir and not /usr/lib64 ... Looks
like a problem with your mysqlclient package...<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">http://www.opensips-solutions.com</a></pre>
On 16.09.2014 11:59, Sandeep Sharma wrote:<br>
</div>
<blockquote
cite="mid:F9C8B64B48DD4E999AF27538B155570B@imidomain.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<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
moz-do-not-send="true" title="bogdan@opensips.org"
href="mailto:bogdan@opensips.org">Bogdan-Andrei
Iancu</a> </div>
<div><b>Sent:</b> Tuesday, September 16, 2014 1:19 PM</div>
<div><b>To:</b> <a moz-do-not-send="true"
title="sandeep.s@imimobile.com"
href="mailto:sandeep.s@imimobile.com">Sandeep Sharma</a>
; <a moz-do-not-send="true"
title="users@lists.opensips.org"
href="mailto:users@lists.opensips.org">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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">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
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="http://www.imimobile.com">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>
</blockquote>
<br>
</body>
</html>