From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 13:07:38 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 A023A16A4CE for ; Tue, 17 Oct 2006 13:07:38 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CF2D43DB1 for ; Tue, 17 Oct 2006 13:07:11 +0000 (GMT) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.13.4/8.13.4) with ESMTP id k9HD6xar054141 for ; Tue, 17 Oct 2006 08:06:59 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.13.4/8.13.4/Submit) id k9HD6xQU054140 for freebsd-database@freebsd.org; Tue, 17 Oct 2006 08:06:59 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: freebsd-database@freebsd.org In-Reply-To: <200610171046.k9HAkJ4v067551@lurza.secnetix.de> References: <200610171046.k9HAkJ4v067551@lurza.secnetix.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 17 Oct 2006 08:06:58 -0500 Message-Id: <1161090419.52932.339.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 13:07:38 -0000 On Tue, 2006-10-17 at 12:46 +0200, Oliver Fromme wrote: > Vladimir Terziev wrote: > > The discussion here is about mixing native FreeBSD perl > > and Oracle Linux instant client libraries > > I think I've already answered that question. Vladimir & I both know or thought we knew that this is not possible, thus my post way back, indicating that one needs a linux-perl to compile DBD::Oracle. Martin said he was able to compile a native DBD::Oracle using the instant client libraries. We were both curious on how he did that, without writing a wrapper. > > > not a general > > discussion about so-called "linux emulation" under FreeBSD. > > But that "general discussion" also answered your specific > question. It was my intention to explain a bit of the > background, so you can see _why_ it is not possible (or > at least very difficult) instead of asking over and over > again. > > You cannot run object code for different ABIs within the > same process image, unless the code doesn't do any syscalls > (database libraries certainly require syscalls), or you > write some "wrapper" glue code that switches or translates > the ABI. I doubt that anyone has done the latter, because > it's a very non-trivial task. It is _much_ easier to > install Linux perl and be done with it (well, or install > the old Oracle8 FreeBSD client from the Ports if you don't > absolutely need to have the Oracle10 client). > > Best regards > Oliver > -- Scott T. Hildreth