From owner-freebsd-ports@FreeBSD.ORG Tue Jan 4 17:46:58 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01FCF1065672 for ; Tue, 4 Jan 2011 17:46:58 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8268FC13 for ; Tue, 4 Jan 2011 17:46:57 +0000 (UTC) Received: from web125.yandex.ru (web125.yandex.ru [95.108.130.103]) by forward15.mail.yandex.net (Yandex) with ESMTP id 9AB734458EB5; Tue, 4 Jan 2011 20:46:33 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by web125.yandex.ru (Yandex) with ESMTP id 811115C50037; Tue, 4 Jan 2011 20:46:33 +0300 (MSK) Received: from [46.38.1.85] ([46.38.1.85]) by mail.yandex.ru with HTTP; Tue, 04 Jan 2011 20:46:33 +0300 From: Dima Panov To: David Southwell 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> MIME-Version: 1.0 Message-Id: <194981294163193@web125.yandex.ru> Date: Wed, 05 Jan 2011 03:46:33 +1000 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: Kurt Jaeger , freebsd-ports@freebsd.org Subject: Re: diablo-jdk- misses libodbcinst.so & conflicts libiodbc/virtuoso X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 17:46:58 -0000 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" ;: >> Hello! > >> > >> 05.01.2011, 01:00, "J. Hellenthal" ;: > >> > 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 ; 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