From owner-freebsd-questions@FreeBSD.ORG Thu Jun 1 13:18:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD1A16A49C for ; Thu, 1 Jun 2006 13:18:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8782143D46 for ; Thu, 1 Jun 2006 13:18:57 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 660 invoked from network); 1 Jun 2006 13:18:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Jun 2006 13:18:57 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 9497428449; Thu, 1 Jun 2006 09:18:56 -0400 (EDT) To: Vittorio References: <10b8f6f083d.vdemart1@tin.it> From: Lowell Gilbert Date: Thu, 01 Jun 2006 09:18:56 -0400 In-Reply-To: <10b8f6f083d.vdemart1@tin.it> (Vittorio's message of "Thu, 1 Jun 2006 12:51:26 +0100 (GMT+01:00)") Message-ID: <44ac8xrp33.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: R, unixodbc & easysoft problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 13:18:58 -0000 Vittorio writes: > I installed first, from the ports, unixodbc, then the latest oracle > easysoft driver on my FBSD 6.1 box, following the included > instructions. When using unixodbc with postgresql, plain sailing, it > works like a charm! > But when I try to connect via odbc to oracle (here > an instance of the statistical software R) I get: > > 1: [RODBC] ERROR: > state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib > '/usr/compat/linux/usr/local/easysoft/oracle/libesoracle.so' : Shared > object "libm.so.6" not found, required by "libesoracle.so" > > and > issuing: > /compat/linux/usr/bin/ldd -v libesoracle.so > /compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found > ldd: /lib/ld- > linux.so.2 $exited with unknown exit code (127) > > I understand that > there's something to be set as far as libraries to be used & linked are > concerned. Do you have the "missing" library? On my system, it was installed by the linux_base port, and is /usr/compat/linux/lib/libm.so.6