From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 15:08:28 2006 Return-Path: X-Original-To: freebsd-database@freebsd.org Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34D0B16A407; Mon, 16 Oct 2006 15:08:28 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat.gbservices.biz (cat-mtl.gbservices.biz [213.226.50.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3921E43D77; Mon, 16 Oct 2006 15:08:23 +0000 (GMT) (envelope-from vladimir.terziev@gbservices.biz) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id ACC732EDBCD; Mon, 16 Oct 2006 16:36:56 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id A0C1D2EDD8B; Mon, 16 Oct 2006 16:18:40 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 0CC5428504; Mon, 16 Oct 2006 16:18:42 +0200 (CEST) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id B65A928503; Mon, 16 Oct 2006 16:18:41 +0200 (CEST) Date: Mon, 16 Oct 2006 17:18:41 +0300 From: Vladimir Terziev To: shildreth@allantgroup.com Message-Id: <20061016171841.d569ea5e.vlady@gbservices.biz> In-Reply-To: <1161006945.52932.293.camel@scotth.emsphone.com> References: <20060711162744.A22592@malcolm.berkeley.edu> <452C09B6.4030009@pobox.sk> <20061010220934.GA1484@dfwdamian.vail> <1160524816.70546.287.camel@fbsd1.dyndns.org> <4531FFCD.8040607@aeternal.net> <1161006945.52932.293.camel@scotth.emsphone.com> Organization: GB Services Ltd. X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Cc: freebsd-database@freebsd.org, corwin@aeternal.net, Damian Wiest , freebsd-questions@freebsd.org Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 15:08:28 -0000 I'm also interested of mixing native FreeBSD libraries and Linux once, if it's possible ... I tryed to install a DBD::Oracle module with natively build FreeBSD perl and Linux Oracle Instantclient. After some hacking of DBD::Oracle's make file, i managed to build native Oracle.so linked against Instantclient's libcltnsh.so library. When i tryed "use DBD::Oracle" in a perl script i got "Segmentation fault". I don't think it's possible to intermix native FreeBSD libraries and Linux once used by a native FreeBSD executable. Vladimir On Mon, 16 Oct 2006 08:55:45 -0500 "Scott T. Hildreth" wrote: > On Sun, 2006-10-15 at 11:30 +0200, Martin Hudec wrote: > > Hello, > > > > Scott T. Hildreth wrote: > > > He can't, DBD::Oracle uses oci underneath so he needs the Oracle client to get the shared > > > libraries. Mike you also need to compile or install a linux perl and then install DBI & DBD::Oracle > > > with the linux perl. You could use DBD::Proxy instead of installing DBD::Oracle. It installed > > > with DBI. Type 'perldoc DBD::Proxy' to see the docs. If you need help, you can email me > > > or join the dbi-users@perl.org. > > > > Not fully correct - when I wanted to use DBD::Oracle, I did not need to > > install linux-perl - just instantclient (linux compatibility enabled) as > > Martinko mentioned. And it worked. And DBD::Oracle has been used with > > native perl. > > Interesting, I have not used the instantclient. I always have a full > Oracle install, since I need the database. I will try that, > DBD::Oracle must not be linking with the libcltnsh.so. > > > > > > > > Martin > > _______________________________________________ > > freebsd-database@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-database > > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org" > -- > Scott T. Hildreth > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org"