diablo-jdk- misses libodbcinst.so & conflicts libiodbc/virtuoso

David Southwell david at vizion2000.net
Tue Jan 4 16:24:13 UTC 2011


> Hello!
> 
> 05.01.2011, 01:00, "J. Hellenthal" <jhell at 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 at 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?

David


Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network


More information about the freebsd-ports mailing list