<?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[configure with-jdk]]></title><description><![CDATA[<p dir="auto">java-1.7.0-openjdk-devel.x86_64<br />
netxms-2.0-m3</p>
<pre><code>ll /usr/lib/jvm/java/jre/lib/amd64/server/
total 37028
-r--r--r-- 1 root root 25382912 Apr 13 10:02 classes.jsa
lrwxrwxrwx 1 root root       13 Apr 13 10:02 libjsig.so -&gt; ../libjsig.so
-rwxr-xr-x 1 root root 12525760 Feb 27 07:03 libjvm.so
-rw-r--r-- 1 root root     1423 Feb 27 06:51 Xusage.txt
</code></pre>
<p dir="auto">Использовал<br />
# для libjvm, но не работает, что я делаю не так ?</p>
<pre><code>LDFLAGS="-L/usr/lib/jvm/java/jre/lib/ -L/usr/lib/jvm/java/jre/lib/amd64/server/"
</code></pre>
<p dir="auto"># для jni.h</p>
<pre><code>for i in -I/usr/lib/jvm/java/include{,/linux}; do
      java_inc="$java_inc $i"
done
CPPFLAGS="$java_inc $CPPFLAGS"
export LDFLAGS CPPFLAGS
</code></pre>
<p dir="auto">./configure --prefix=/opt/netxms --with-client --with-server --with-agent --with-pgsql --with-openssl --with-snmp --with-jdk</p>
<p dir="auto">В итоге получаю ошибку</p>
<pre><code>checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for SQLAllocHandle in -ljvm... no
configure: error: libjvm is required for Java support
</code></pre>
]]></description><link>https://forum.netxms.org/topic/3692/configure-with-jdk</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:21:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3692.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Apr 2015 14:41:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to configure with-jdk on Fri, 17 Apr 2015 08:27:34 GMT]]></title><description><![CDATA[<p dir="auto">спасибо!</p>
]]></description><link>https://forum.netxms.org/post/16480</link><guid isPermaLink="true">https://forum.netxms.org/post/16480</guid><dc:creator><![CDATA[joni]]></dc:creator><pubDate>Fri, 17 Apr 2015 08:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to configure with-jdk on Wed, 15 Apr 2015 13:24:46 GMT]]></title><description><![CDATA[<p dir="auto">Это ошибка в configure.<br />
Должна быть проверка на JNI_CreateJavaVM, а не SQLAllocHandle</p>
]]></description><link>https://forum.netxms.org/post/16457</link><guid isPermaLink="true">https://forum.netxms.org/post/16457</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 15 Apr 2015 13:24:46 GMT</pubDate></item><item><title><![CDATA[Reply to configure with-jdk on Wed, 15 Apr 2015 11:06:34 GMT]]></title><description><![CDATA[<pre><code>readelf -s jre-1.8.0-openjdk-1.8.0.20-3.b26.el6.x86_64/lib/amd64/server/libjvm.so | grep -i SQLAllocHandle
</code></pre>
<p dir="auto">может эта проверка не нужна в принципе для этой либы ?</p>
]]></description><link>https://forum.netxms.org/post/16451</link><guid isPermaLink="true">https://forum.netxms.org/post/16451</guid><dc:creator><![CDATA[joni]]></dc:creator><pubDate>Wed, 15 Apr 2015 11:06:34 GMT</pubDate></item></channel></rss>