<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Installation on Linux]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Now I would like to install on Linux Box (uname -a shows: Linux saivrap2 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:04:33 EDT 2005 i686 athlon i386 GNU/Linux). I want to install NetXMS server and agent using mysql database.</p>
<p dir="auto">I have installed following MySQL modules using rpm -i :</p>
<ul>
<li>MySQL-server-standard-5.0.27-0.rhel4.i386.rpm</li>
<li>MySQL-client-standard-5.0.27-0.rhel4.i386.rpm</li>
<li>MySQL-devel-standard-5.0.27-0.rhel4.i386.rpm</li>
<li>MySQL-shared-standard-5.0.27-0.rhel3.i386.rpm</li>
</ul>
<p dir="auto">But when I run:</p>
<p dir="auto">./configure --with-server --with-mysql --with-agent</p>
<p dir="auto">I got this error:</p>
<p dir="auto">checking for mysql_init in -lmysqlclient... no<br />
configure: error: libmysqlclient is requred for MySQL support</p>
<p dir="auto">Path to the libmysqlclient already there...</p>
<p dir="auto">What am I missing ? Please help...</p>
<p dir="auto">Thanks.</p>
<p dir="auto">Best regards,<br />
Adiyat</p>
]]></description><link>https://forum.netxms.org/topic/17/installation-on-linux</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:28:16 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/17.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Nov 2006 06:44:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 23:44:55 GMT]]></title><description><![CDATA[<p dir="auto">Again, thank you very much...</p>
]]></description><link>https://forum.netxms.org/post/41</link><guid isPermaLink="true">https://forum.netxms.org/post/41</guid><dc:creator><![CDATA[inadiyat]]></dc:creator><pubDate>Mon, 13 Nov 2006 23:44:55 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 13:16:48 GMT]]></title><description><![CDATA[<p dir="auto">...<br />
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'<br />
...<br />
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'<br />
...</p>
<p dir="auto">"undefined reference" means that linker was unable to resolve (=find) functions "compress" and "decompress" in all given libraries - mysql probably use them for client/server protocol compression.</p>
<p dir="auto">Next steps can vary:</p>
<ol>
<li>search google: "mysql undefined reference compress uncompress" will take you to the <a href="http://dev.mysql.com/doc/refman/5.0/en/link-errors.html," rel="nofollow ugc">http://dev.mysql.com/doc/refman/5.0/en/link-errors.html,</a> "Problems Linking to the MySQL Client Library" with solution: "If you get undefined reference errors for the uncompress or compress  function, add -lz to the end of your link command and try again."</li>
<li>grep *.so/*.a files in your /usr/lib (/lib, etc) for missing symbol. You can later check exact library using "nm" tool:</li>
</ol>
<p dir="auto">alk@ns$ nm libz.a | grep "T compress"<br />
000000a4 T compress<br />
00000000 T compress2</p>
<p dir="auto">"T" means that this function exist in this exact library.</p>
]]></description><link>https://forum.netxms.org/post/40</link><guid isPermaLink="true">https://forum.netxms.org/post/40</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 13 Nov 2006 13:16:48 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 11:56:33 GMT]]></title><description><![CDATA[<p dir="auto">BTW, how do you get to this conclusion ? (Need zlib-devel). I have to learn something from this...</p>
<p dir="auto">Thanks &amp; Best regards,<br />
Adiyat</p>
]]></description><link>https://forum.netxms.org/post/39</link><guid isPermaLink="true">https://forum.netxms.org/post/39</guid><dc:creator><![CDATA[inadiyat]]></dc:creator><pubDate>Mon, 13 Nov 2006 11:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 11:52:09 GMT]]></title><description><![CDATA[<p dir="auto">YES !!!!</p>
<p dir="auto">It works now....</p>
<p dir="auto">I just need to install zlib-devel-1.1.4-8.7x.i386.rpm (<a href="http://www.zlib.net" rel="nofollow ugc">www.zlib.net</a>).</p>
<p dir="auto">Thank you very much for your great support.</p>
<p dir="auto">Best regards,<br />
Adiyat</p>
]]></description><link>https://forum.netxms.org/post/38</link><guid isPermaLink="true">https://forum.netxms.org/post/38</guid><dc:creator><![CDATA[inadiyat]]></dc:creator><pubDate>Mon, 13 Nov 2006 11:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 11:08:38 GMT]]></title><description><![CDATA[<p dir="auto">Looks like zlib is not detected. Try to configure it that way:</p>
<p dir="auto">LDFLAGS=-lz ./configure --with-server --with-agent --with-mysql</p>
<p dir="auto">If it fails, check, if zlib-devel is installed?</p>
]]></description><link>https://forum.netxms.org/post/37</link><guid isPermaLink="true">https://forum.netxms.org/post/37</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 13 Nov 2006 11:08:38 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 09:30:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your quick reply, below is the data you asked for (from config.log):</p>
<p dir="auto">configure:4714: checking for mysql_init in -lmysqlclient<br />
configure:4744: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -s -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql conftest.c -lmysqlclient  -lm  &gt;&amp;5<br />
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x65): In function `my_compress_alloc':<br />
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'<br />
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x178): In function `my_uncompress':<br />
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'<br />
collect2: ld returned 1 exit status<br />
configure:4750: $? = 1<br />
configure: failed program was:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>/* confdefs.h.  */</th>
</tr>
</thead>
<tbody>
<tr>
<td>#define PACKAGE_NAME "NetXMS"</td>
</tr>
<tr>
<td>#define PACKAGE_TARNAME "netxms"</td>
</tr>
<tr>
<td>#define PACKAGE_VERSION "0.2.13"</td>
</tr>
<tr>
<td>#define PACKAGE_STRING "NetXMS 0.2.13"</td>
</tr>
<tr>
<td>#define PACKAGE_BUGREPORT "NetXMS Team <a href="mailto:bugs@netxms.org" rel="nofollow ugc">bugs@netxms.org</a>"</td>
</tr>
<tr>
<td>#define PACKAGE "netxms"</td>
</tr>
<tr>
<td>#define VERSION "0.2.13"</td>
</tr>
<tr>
<td>#ifdef __cplusplus</td>
</tr>
<tr>
<td>extern "C" void std::exit (int) throw (); using std::exit;</td>
</tr>
<tr>
<td>#endif</td>
</tr>
<tr>
<td>#define HAVE_LIBM 1</td>
</tr>
<tr>
<td>#define WITH_MYSQL</td>
</tr>
<tr>
<td>/* end confdefs.h.  */</td>
</tr>
</tbody>
</table>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>/* Override any gcc2 internal prototype to avoid an error.  */</td>
</tr>
<tr>
<td>#ifdef __cplusplus</td>
</tr>
<tr>
<td>extern "C"</td>
</tr>
<tr>
<td>#endif</td>
</tr>
<tr>
<td>/* We use char because int might match the return type of a gcc2</td>
</tr>
<tr>
<td>builtin and then its argument prototype would still apply.  */</td>
</tr>
<tr>
<td>char mysql_init ();</td>
</tr>
<tr>
<td>int</td>
</tr>
<tr>
<td>main ()</td>
</tr>
<tr>
<td>{</td>
</tr>
<tr>
<td>mysql_init ();</td>
</tr>
<tr>
<td>;</td>
</tr>
<tr>
<td>return 0;</td>
</tr>
<tr>
<td>}</td>
</tr>
</tbody>
</table>
<p dir="auto">configure:4776: result: no<br />
configure:4786: error: libmysqlclient is requred for MySQL support</p>
<p dir="auto">Best regards,<br />
Adiyat</p>
]]></description><link>https://forum.netxms.org/post/36</link><guid isPermaLink="true">https://forum.netxms.org/post/36</guid><dc:creator><![CDATA[inadiyat]]></dc:creator><pubDate>Mon, 13 Nov 2006 09:30:51 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 09:03:43 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, i was inattentive.</p>
<p dir="auto">Please show your config.log, lines between:</p>
<p dir="auto">configure:4714: checking for mysql_init in -lmysqlclient</p>
<p dir="auto">and</p>
<p dir="auto">configure:4786: error: libmysqlclient is requred for MySQL support</p>
]]></description><link>https://forum.netxms.org/post/35</link><guid isPermaLink="true">https://forum.netxms.org/post/35</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 13 Nov 2006 09:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 08:23:20 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I did... (as I post in my question above)</p>
<p dir="auto">But the problem still there....</p>
<p dir="auto">Any other idea ?</p>
<p dir="auto">Thank you very much in advance...</p>
<p dir="auto">Best regards,<br />
Adiyat</p>
]]></description><link>https://forum.netxms.org/post/34</link><guid isPermaLink="true">https://forum.netxms.org/post/34</guid><dc:creator><![CDATA[inadiyat]]></dc:creator><pubDate>Mon, 13 Nov 2006 08:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to Installation on Linux on Mon, 13 Nov 2006 07:56:30 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">You also need to install development packages (MySQL-devel-standard-5.0.27-0.rhel4.rpm).</p>
]]></description><link>https://forum.netxms.org/post/33</link><guid isPermaLink="true">https://forum.netxms.org/post/33</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 13 Nov 2006 07:56:30 GMT</pubDate></item></channel></rss>