Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2011 03:46:33 +1000
From:      Dima Panov <fluffy@fluffy.khv.ru>
To:        David Southwell <david@vizion2000.net>
Cc:        Kurt Jaeger <lists@opsec.eu>, freebsd-ports@freebsd.org
Subject:   Re: diablo-jdk- misses libodbcinst.so & conflicts libiodbc/virtuoso
Message-ID:  <194981294163193@web125.yandex.ru>
In-Reply-To: <201101041624.05246.david@vizion2000.net>
References:  <201101041437.08402.david@vizion2000.net> <4D233619.1000305@DataIX.net> <289781294155870@web149.yandex.ru> <201101041624.05246.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

diablo-jdk is very outdated binary, build almost ~1 year old portstree on a tinderbox with preinstalled environment.
please, don't rely on it in real environment.

correct solution is switch to builded natively package (jdk16 or openjdk6), which always will use correct system libraries
of course, after build native jdk, diablo package should be dropped.

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

-- 
Dima Panov (fluffy@FreeBSD.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=100000181104157



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?194981294163193>