<?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[netxms-3.0.2292 configure error cannot find mysql.h on centos7]]></title><description><![CDATA[<p dir="auto">Linux 3.10.0-1062.el7.x86_64<br />
<strong>./configure --with-server --with-mariadb --prefix=/usr</strong><br />
<em>checking for mysql.h... no<br />
configure: error: Cannot find mysql.h - check your MariaDB client installation</em></p>
<p dir="auto"> <strong>find / -type f -name mysql.h</strong><br />
<em>/usr/include/mysql/server/mysql.h<br />
/usr/include/mysql/mysql.h</em></p>
<p dir="auto"><strong>rpm -qa *aria*</strong><br />
<em>MariaDB-server-10.4.8-1.el7.centos.x86_64<br />
MariaDB-client-10.4.8-1.el7.centos.x86_64<br />
MariaDB-devel-10.4.8-1.el7.centos.x86_64<br />
MariaDB-compat-10.4.8-1.el7.centos.x86_64<br />
MariaDB-common-10.4.8-1.el7.centos.x86_64</em></p>
]]></description><link>https://forum.netxms.org/topic/6188/netxms-3.0.2292-configure-error-cannot-find-mysql.h-on-centos7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:15:05 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6188.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Sep 2019 09:22:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Thu, 03 Oct 2019 05:40:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/26647">netxms-3.0.2292 configure error cannot find mysql.h on centos7</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">looks like you have to install MariaDB-shared as well. Then --with-mysql should work. I also changed configure to provide option for setup like this when MariaDB library tries to mimic MySQL client library and installs headers into /usr/include/mysql: --with-mariadb-compat-headers. You can try this source package: <a href="https://netxms.org/download/releases/3.0/netxms-3.0.2307.tar.gz" rel="nofollow ugc">https://netxms.org/download/releases/3.0/netxms-3.0.2307.tar.gz</a> and use configure options --with-mariadb --with-mariadb-compat-headers.</p>
<p dir="auto">Best regards,<br />
Victor</p>
</blockquote>
<p dir="auto">Hi, Victor</p>
<p dir="auto">Thanks for your support, it helped me, after installing mariadb-shared, ./configure ended  without errors</p>
]]></description><link>https://forum.netxms.org/post/26675</link><guid isPermaLink="true">https://forum.netxms.org/post/26675</guid><dc:creator><![CDATA[grif]]></dc:creator><pubDate>Thu, 03 Oct 2019 05:40:28 GMT</pubDate></item><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Mon, 30 Sep 2019 16:54:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">looks like you have to install MariaDB-shared as well. Then --with-mysql should work. I also changed configure to provide option for setup like this when MariaDB library tries to mimic MySQL client library and installs headers into /usr/include/mysql: --with-mariadb-compat-headers. You can try this source package: <a href="https://netxms.org/download/releases/3.0/netxms-3.0.2307.tar.gz" rel="nofollow ugc">https://netxms.org/download/releases/3.0/netxms-3.0.2307.tar.gz</a> and use configure options --with-mariadb --with-mariadb-compat-headers.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/26647</link><guid isPermaLink="true">https://forum.netxms.org/post/26647</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 30 Sep 2019 16:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Mon, 30 Sep 2019 08:14:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/26630">netxms-3.0.2292 configure error cannot find mysql.h on centos7</a>:</p>
<blockquote>
<p dir="auto">....<br />
How did you install MariaDB client?<br />
...</p>
</blockquote>
<p dir="auto">/etc/yum.repos.d/MariaDB.repo<br />
# MariaDB 10.4 CentOS repository list<br />
# <a href="http://downloads.mariadb.org/mariadb/repositories/" rel="nofollow ugc">http://downloads.mariadb.org/mariadb/repositories/</a><br />
[mariadb]<br />
name = MariaDB<br />
baseurl = <a href="http://yum.mariadb.org/10.4/centos7-amd64" rel="nofollow ugc">http://yum.mariadb.org/10.4/centos7-amd64</a><br />
gpgkey=<a href="https://yum.mariadb.org/RPM-GPG-KEY-MariaDB" rel="nofollow ugc">https://yum.mariadb.org/RPM-GPG-KEY-MariaDB</a><br />
gpgcheck=1</p>
<p dir="auto">yum install MariaDB-server MariaDB-devel</p>
]]></description><link>https://forum.netxms.org/post/26644</link><guid isPermaLink="true">https://forum.netxms.org/post/26644</guid><dc:creator><![CDATA[grif]]></dc:creator><pubDate>Mon, 30 Sep 2019 08:14:59 GMT</pubDate></item><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Fri, 27 Sep 2019 14:13:12 GMT]]></title><description><![CDATA[<p dir="auto">Please share your config.log. I've installed clean CentOS 7 and mariadb-devel package and build went without errors using --with-mysql. However versions are different:</p>
<p dir="auto">rpm -qa *aria*<br />
mariadb-devel-5.5.64-1.el7.x86_64<br />
mariadb-libs-5.5.64-1.el7.x86_64</p>
<p dir="auto">How did you install MariaDB client?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/26630</link><guid isPermaLink="true">https://forum.netxms.org/post/26630</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 27 Sep 2019 14:13:12 GMT</pubDate></item><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Fri, 27 Sep 2019 11:40:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/26614">netxms-3.0.2292 configure error cannot find mysql.h on centos7</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">try to use --with-mysql instead.</p>
<p dir="auto">Best regards,<br />
Victor</p>
</blockquote>
<p dir="auto">Thank you it helped, but I have an error in the next step</p>
<p dir="auto"><strong>checking for mysql_init in -lmysqlclient... no</strong></p>
]]></description><link>https://forum.netxms.org/post/26625</link><guid isPermaLink="true">https://forum.netxms.org/post/26625</guid><dc:creator><![CDATA[grif]]></dc:creator><pubDate>Fri, 27 Sep 2019 11:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to netxms-3.0.2292 configure error cannot find mysql.h on centos7 on Wed, 25 Sep 2019 13:58:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">try to use --with-mysql instead.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/26614</link><guid isPermaLink="true">https://forum.netxms.org/post/26614</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 25 Sep 2019 13:58:40 GMT</pubDate></item></channel></rss>