<div>Hello!</div><div>&nbsp;</div><div>diablo-jdk is very outdated binary, 
build almost ~1 year old portstree on a tinderbox with preinstalled 
environment.</div><div>please, don't rely on it in real 
environment.</div><div>&nbsp;</div><div>correct solution is switch to builded 
natively package (jdk16 or openjdk6), which always will use correct system 
libraries</div><div>of course, after build native jdk, diablo package should be 
dropped.</div><div>&nbsp;</div><div>05.01.2011, 02:24, "David Southwell" 
&lt;da...@vizion2000.net&gt;:</div><blockquote><p style="margin: 0px; 
text-indent: 0px;">&gt; Hello!</p> <p style="margin: 0px; text-indent: 
0px;">&gt;</p> <p style="margin: 0px; text-indent: 0px;">&gt; 05.01.2011, 
01:00, "J. Hellenthal" &lt;<a 
href="mailto:jh...@dataix.net%3e";>jh...@dataix.net&gt;</a>;:</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt; On 01/04/2011 09:37, David 
Southwell wrote:</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; 
&nbsp;Hi</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt;</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; &nbsp;pkg_libchk shows 
that diablo-jdk misses libodbcinst.so:</p> <p style="margin: 0px; text-indent: 
0px;">&gt; &gt;&gt;</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; 
&nbsp;diablo-jdk-1.6.0.07.02_12: /usr/local/diablo-</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;&gt; &nbsp;jdk1.6.0/jre/lib/amd64/libJdbcOdbc.so 
misses libodbcinst.so</p> <p style="margin: 0px; text-indent: 0px;">&gt; 
&gt;&gt;</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; &nbsp;Is 
it right that libodbcinst.so is installed by unixODBC-2.3.0_1 ?</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt;</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;&gt; &nbsp;When attempting to install 
databases/libodbc++ &nbsp;(includes unixODBC)</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;&gt; which would presumably fix this issue I 
receive the console report:</p> <p style="margin: 0px; text-indent: 0px;">&gt; 
&gt;&gt;</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; 
&nbsp;unixODBC-2.3.0_1 conflicts with installed package(s):</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libiodbc-3.52.7</p> <p style="margin: 
0px; text-indent: 0px;">&gt; &gt;&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtuoso-6.1.2_1</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt;</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;&gt; &nbsp;I need virtuoso on this system.</p> <p 
style="margin: 0px; text-indent: 0px;">&gt; &gt;&gt;</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;&gt; &nbsp;How do I preceed?</p> <p style="margin: 
0px; text-indent: 0px;">&gt; &gt;</p> <p style="margin: 0px; text-indent: 
0px;">&gt; &gt; Replace libiodbc with unixODBC</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; &gt;</p> <p style="margin: 0px; text-indent: 0px;">&gt; 
&gt; They provide the same layer that virtuoso would need for ODBC.</p> <p 
style="margin: 0px; text-indent: 0px;">&gt;</p> <p style="margin: 0px; 
text-indent: 0px;">&gt; Nope. unixODBC provide outdated API and lacks of some 
features, exist in</p> <p style="margin: 0px; text-indent: 0px;">&gt; libiodbc 
and required by virtuoso.</p> <p style="margin: 0px; text-indent: 
0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 0px;">OK guys now I AM 
confused!!</p> <p style="margin: 0px; text-indent: 0px;">&nbsp;</p> <p 
style="margin: 0px; text-indent: 0px;">Question is what will work?</p> <p 
style="margin: 0px; text-indent: 0px;">Kurt Jaeger &lt;<a 
href="mailto:li...@opsec.eu%3e";>li...@opsec.eu&gt;</a>; suggests:</p> <p 
style="margin: 0px; text-indent: 0px;">&nbsp;</p> <p style="margin: 0px; 
text-indent: 0px;">A:</p> <p style="margin: 0px; text-indent: 
0px;">_______________________________________</p> <p style="margin: 0px; 
text-indent: 0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 
0px;">&gt;/usr/local/include/sql.h</p> <p style="margin: 0px; text-indent: 
0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 0px;">&gt;which contains 
the API of ODBC. Both libiodbc and unixODBC implement</p> <p style="margin: 
0px; text-indent: 0px;">&gt;ODBC, so it's pretty much the same contents, but 
it's formatted</p> <p style="margin: 0px; text-indent: 
0px;">&gt;differently.</p> <p style="margin: 0px; text-indent: 0px;">&nbsp;</p> 
<p style="margin: 0px; text-indent: 0px;">&gt;What I would suggest:</p> <p 
style="margin: 0px; text-indent: 0px;">&nbsp;</p> <p style="margin: 0px; 
text-indent: 0px;">&gt;cd /usr/ports/databases/libiodbc/</p> <p style="margin: 
0px; text-indent: 0px;">make deinstall</p> <p style="margin: 0px; text-indent: 
0px;">&gt;cd /usr/ports/databases/unixODBC/</p> <p style="margin: 0px; 
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent: 
0px;">&gt;cd /usr/ports/databases/libodbc++</p> <p style="margin: 0px; 
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent: 
0px;">&gt;cd /usr/ports/databases/libiodbc/</p> <p style="margin: 0px; 
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent: 
0px;">&gt;cd /usr/ports/databases/unixODBC/</p> <p style="margin: 0px; 
text-indent: 0px;">make deinstall</p> <p style="margin: 0px; text-indent: 
0px;">&gt;cd /usr/ports/databases/libiodbc/</p> <p style="margin: 0px; 
text-indent: 0px;">make reinstall</p> <p style="margin: 0px; text-indent: 
0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 0px;">&gt;This is 
messy.</p> <p style="margin: 0px; text-indent: 
0px;">______________________________________</p> <p style="margin: 0px; 
text-indent: 0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 0px;">&amp; 
B</p> <p style="margin: 0px; text-indent: 0px;">&nbsp;</p> <p style="margin: 
0px; text-indent: 0px;">&gt;Some other suggestion:</p> <p style="margin: 0px; 
text-indent: 0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 
0px;">&gt;File a PR and we bug both upstream providers to seperate their two 
sql.h</p> <p style="margin: 0px; text-indent: 0px;">&gt;files, so that libiodbc 
and unixODBC can coexist</p> <p style="margin: 0px; text-indent: 
0px;">&nbsp;</p> <p style="margin: 0px; text-indent: 0px;">Is A likely to work 
or is B the only viable option?</p> <p style="margin: 0px; text-indent: 
0px;">&nbsp;</p></blockquote><div>&nbsp;</div><div>-- <br />Dima Panov 
(flu...@freebsd.org)<br />k...@freebsd team<br /><br />Facebook: 
http://www.facebook.com/?id=100000181104157</div>
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to