<div>Hello!</div><div> </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> </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> </div><div>05.01.2011, 02:24, "David Southwell"
<da...@vizion2000.net>:</div><blockquote><p style="margin: 0px;
text-indent: 0px;">> Hello!</p> <p style="margin: 0px; text-indent:
0px;">></p> <p style="margin: 0px; text-indent: 0px;">> 05.01.2011,
01:00, "J. Hellenthal" <<a
href="mailto:jh...@dataix.net%3e">jh...@dataix.net></a>;:</p> <p
style="margin: 0px; text-indent: 0px;">> > On 01/04/2011 09:37, David
Southwell wrote:</p> <p style="margin: 0px; text-indent: 0px;">> >>
Hi</p> <p style="margin: 0px; text-indent: 0px;">> >></p> <p
style="margin: 0px; text-indent: 0px;">> >> pkg_libchk shows
that diablo-jdk misses libodbcinst.so:</p> <p style="margin: 0px; text-indent:
0px;">> >></p> <p style="margin: 0px; text-indent: 0px;">> >>
diablo-jdk-1.6.0.07.02_12: /usr/local/diablo-</p> <p style="margin: 0px;
text-indent: 0px;">> >> jdk1.6.0/jre/lib/amd64/libJdbcOdbc.so
misses libodbcinst.so</p> <p style="margin: 0px; text-indent: 0px;">>
>></p> <p style="margin: 0px; text-indent: 0px;">> >> Is
it right that libodbcinst.so is installed by unixODBC-2.3.0_1 ?</p> <p
style="margin: 0px; text-indent: 0px;">> >></p> <p style="margin: 0px;
text-indent: 0px;">> >> When attempting to install
databases/libodbc++ (includes unixODBC)</p> <p style="margin: 0px;
text-indent: 0px;">> >> which would presumably fix this issue I
receive the console report:</p> <p style="margin: 0px; text-indent: 0px;">>
>></p> <p style="margin: 0px; text-indent: 0px;">> >>
unixODBC-2.3.0_1 conflicts with installed package(s):</p> <p
style="margin: 0px; text-indent: 0px;">> >>
libiodbc-3.52.7</p> <p style="margin:
0px; text-indent: 0px;">> >>
virtuoso-6.1.2_1</p> <p
style="margin: 0px; text-indent: 0px;">> >></p> <p style="margin: 0px;
text-indent: 0px;">> >> I need virtuoso on this system.</p> <p
style="margin: 0px; text-indent: 0px;">> >></p> <p style="margin: 0px;
text-indent: 0px;">> >> How do I preceed?</p> <p style="margin:
0px; text-indent: 0px;">> ></p> <p style="margin: 0px; text-indent:
0px;">> > Replace libiodbc with unixODBC</p> <p style="margin: 0px;
text-indent: 0px;">> ></p> <p style="margin: 0px; text-indent: 0px;">>
> They provide the same layer that virtuoso would need for ODBC.</p> <p
style="margin: 0px; text-indent: 0px;">></p> <p style="margin: 0px;
text-indent: 0px;">> Nope. unixODBC provide outdated API and lacks of some
features, exist in</p> <p style="margin: 0px; text-indent: 0px;">> libiodbc
and required by virtuoso.</p> <p style="margin: 0px; text-indent:
0px;"> </p> <p style="margin: 0px; text-indent: 0px;">OK guys now I AM
confused!!</p> <p style="margin: 0px; text-indent: 0px;"> </p> <p
style="margin: 0px; text-indent: 0px;">Question is what will work?</p> <p
style="margin: 0px; text-indent: 0px;">Kurt Jaeger <<a
href="mailto:li...@opsec.eu%3e">li...@opsec.eu></a>; suggests:</p> <p
style="margin: 0px; text-indent: 0px;"> </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;"> </p> <p style="margin: 0px; text-indent:
0px;">>/usr/local/include/sql.h</p> <p style="margin: 0px; text-indent:
0px;"> </p> <p style="margin: 0px; text-indent: 0px;">>which contains
the API of ODBC. Both libiodbc and unixODBC implement</p> <p style="margin:
0px; text-indent: 0px;">>ODBC, so it's pretty much the same contents, but
it's formatted</p> <p style="margin: 0px; text-indent:
0px;">>differently.</p> <p style="margin: 0px; text-indent: 0px;"> </p>
<p style="margin: 0px; text-indent: 0px;">>What I would suggest:</p> <p
style="margin: 0px; text-indent: 0px;"> </p> <p style="margin: 0px;
text-indent: 0px;">>cd /usr/ports/databases/libiodbc/</p> <p style="margin:
0px; text-indent: 0px;">make deinstall</p> <p style="margin: 0px; text-indent:
0px;">>cd /usr/ports/databases/unixODBC/</p> <p style="margin: 0px;
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent:
0px;">>cd /usr/ports/databases/libodbc++</p> <p style="margin: 0px;
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent:
0px;">>cd /usr/ports/databases/libiodbc/</p> <p style="margin: 0px;
text-indent: 0px;">make install</p> <p style="margin: 0px; text-indent:
0px;">>cd /usr/ports/databases/unixODBC/</p> <p style="margin: 0px;
text-indent: 0px;">make deinstall</p> <p style="margin: 0px; text-indent:
0px;">>cd /usr/ports/databases/libiodbc/</p> <p style="margin: 0px;
text-indent: 0px;">make reinstall</p> <p style="margin: 0px; text-indent:
0px;"> </p> <p style="margin: 0px; text-indent: 0px;">>This is
messy.</p> <p style="margin: 0px; text-indent:
0px;">______________________________________</p> <p style="margin: 0px;
text-indent: 0px;"> </p> <p style="margin: 0px; text-indent: 0px;">&
B</p> <p style="margin: 0px; text-indent: 0px;"> </p> <p style="margin:
0px; text-indent: 0px;">>Some other suggestion:</p> <p style="margin: 0px;
text-indent: 0px;"> </p> <p style="margin: 0px; text-indent:
0px;">>File a PR and we bug both upstream providers to seperate their two
sql.h</p> <p style="margin: 0px; text-indent: 0px;">>files, so that libiodbc
and unixODBC can coexist</p> <p style="margin: 0px; text-indent:
0px;"> </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;"> </p></blockquote><div> </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"