Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2011 15:54:54 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: diablo-jdk- misses libodbcinst.so & conflicts libiodbc/virtuoso
Message-ID:  <20110104145454.GS34314@home.opsec.eu>
In-Reply-To: <201101041437.08402.david@vizion2000.net>
References:  <201101041437.08402.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?

Yes.

> 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?

The only file where libiodbc and unixODBC conflict is in

/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. 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.

-- 
pi@opsec.eu            +49 171 3101372                        10 years to go !



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