From owner-freebsd-database@FreeBSD.ORG Sun Oct 15 09:31:02 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 BB0C616A40F; Sun, 15 Oct 2006 09:31:02 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F69043D46; Sun, 15 Oct 2006 09:31:01 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id CE67DB9AA; Sun, 15 Oct 2006 11:31:41 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dHwScfWSSsYZ; Sun, 15 Oct 2006 11:31:41 +0200 (CEST) Received: from [127.0.0.1] (chello089173027168.chello.sk [89.173.27.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id ECD7DB99D; Sun, 15 Oct 2006 11:31:40 +0200 (CEST) Message-ID: <4531FFCD.8040607@aeternal.net> Date: Sun, 15 Oct 2006 11:30:53 +0200 From: Martin Hudec User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Scott T. Hildreth" References: <20060711162744.A22592@malcolm.berkeley.edu> <452C09B6.4030009@pobox.sk> <20061010220934.GA1484@dfwdamian.vail> <1160524816.70546.287.camel@fbsd1.dyndns.org> In-Reply-To: <1160524816.70546.287.camel@fbsd1.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-database@freebsd.org, 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 Reply-To: corwin@aeternal.net List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Oct 2006 09:31:02 -0000 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. Martin From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 13:56:06 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 F338916A407; Mon, 16 Oct 2006 13:56:05 +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 8BF4A43D46; Mon, 16 Oct 2006 13:56:05 +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 k9GDtlMx045619; Mon, 16 Oct 2006 08:55:47 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.13.4/8.13.4/Submit) id k9GDtkDq045618; Mon, 16 Oct 2006 08:55:46 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: corwin@aeternal.net In-Reply-To: <4531FFCD.8040607@aeternal.net> 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> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 16 Oct 2006 08:55:45 -0500 Message-Id: <1161006945.52932.293.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: freebsd-database@freebsd.org, 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 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: Mon, 16 Oct 2006 13:56:06 -0000 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 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" From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 15:47:57 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 BB9B816A403; Mon, 16 Oct 2006 15:47:57 +0000 (UTC) (envelope-from shildreth@allantgroup.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3BB643D55; Mon, 16 Oct 2006 15:47:56 +0000 (GMT) (envelope-from shildreth@allantgroup.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.13.4/8.13.4) with ESMTP id k9GFlbGJ047343; Mon, 16 Oct 2006 10:47:37 -0500 (CDT) (envelope-from shildreth@allantgroup.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.13.4/8.13.4/Submit) id k9GFlbfL047342; Mon, 16 Oct 2006 10:47:37 -0500 (CDT) (envelope-from shildreth@allantgroup.com) X-Authentication-Warning: scotth.emsphone.com: shildret set sender to shildreth@allantgroup.com using -f From: "Scott T. Hildreth" To: Vladimir Terziev In-Reply-To: <20061016171841.d569ea5e.vlady@gbservices.biz> 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> <20061016171841.d569ea5e.vlady@gbservices.biz> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 16 Oct 2006 10:47:36 -0500 Message-Id: <1161013656.52932.301.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port 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 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: Mon, 16 Oct 2006 15:47:57 -0000 On Mon, 2006-10-16 at 17:18 +0300, Vladimir Terziev wrote: > 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. I didn't either, but I am going to try. :-) Martin, how did you do this? > > 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" -- Scott T. Hildreth From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 15:51:21 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 7B46216A403; Mon, 16 Oct 2006 15:51:21 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA0B743D76; Mon, 16 Oct 2006 15:51:07 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id 54CB6B9A6; Mon, 16 Oct 2006 17:51:47 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bfq-4tS07kMy; Mon, 16 Oct 2006 17:51:46 +0200 (CEST) Received: from [155.208.254.132] (grerel4.hp.com [155.208.254.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id D91F1B983; Mon, 16 Oct 2006 17:51:45 +0200 (CEST) Message-ID: <4533AA65.9010708@aeternal.net> Date: Mon, 16 Oct 2006 17:51:01 +0200 From: Martin Hudec User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: shildreth@allantgroup.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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> In-Reply-To: <1161013656.52932.301.camel@scotth.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-database@freebsd.org, 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 Reply-To: corwin@aeternal.net 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:51:21 -0000 Hello, Scott T. Hildreth wrote: > I didn't either, but I am going to try. :-) > > Martin, how did you do this? Well, as I've already had linux compatibility present in the system, I've installed instantclient for linux and built DBD::Oracle. Currently I have it uninstalled as it is no longer needed for me, but I can try it and provide with instructions. DBD::Oracle was being used by CMS system of my previous employer, and that CMS was based on native perl stuff, not linux perl stuff. Martin From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 15:54:14 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 EBF9416A4E1; Mon, 16 Oct 2006 15:54:14 +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 3B9C843D69; Mon, 16 Oct 2006 15:53:08 +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 05E962EDB05; Mon, 16 Oct 2006 17:52:47 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id 966B72EDB03; Mon, 16 Oct 2006 17:52:46 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 44B2928504; Mon, 16 Oct 2006 17:52:47 +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 D423428503; Mon, 16 Oct 2006 17:52:45 +0200 (CEST) Date: Mon, 16 Oct 2006 18:52:45 +0300 From: Vladimir Terziev To: corwin@aeternal.net Message-Id: <20061016185245.3421bf44.vlady@gbservices.biz> In-Reply-To: <4533AA65.9010708@aeternal.net> 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> 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, Damian Wiest , shildreth@allantgroup.com, 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:54:15 -0000 I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. Thanks in advance! Vladimir On Mon, 16 Oct 2006 17:51:01 +0200 Martin Hudec wrote: > Hello, > > > Scott T. Hildreth wrote: > > I didn't either, but I am going to try. :-) > > > > Martin, how did you do this? > > Well, as I've already had linux compatibility present in the system, > I've installed instantclient for linux and built DBD::Oracle. > > Currently I have it uninstalled as it is no longer needed for me, but I > can try it and provide with instructions. > > DBD::Oracle was being used by CMS system of my previous employer, and > that CMS was based on native perl stuff, not linux perl stuff. > > > Martin From owner-freebsd-database@FreeBSD.ORG Mon Oct 16 22:01:20 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 5837216A47B; Mon, 16 Oct 2006 22:01:20 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D02043DAC; Mon, 16 Oct 2006 22:01:07 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id 36061B984; Tue, 17 Oct 2006 00:01:48 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BC-FePAPtdPn; Tue, 17 Oct 2006 00:01:47 +0200 (CEST) Received: from [127.0.0.1] (chello089173027168.chello.sk [89.173.27.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id 391EAB9B0; Tue, 17 Oct 2006 00:01:47 +0200 (CEST) Message-ID: <45340119.4060008@aeternal.net> Date: Tue, 17 Oct 2006 00:00:57 +0200 From: Martin Hudec User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Vladimir Terziev 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> In-Reply-To: <20061016185245.3421bf44.vlady@gbservices.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-database@freebsd.org, shildreth@allantgroup.com, 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 Reply-To: corwin@aeternal.net 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 22:01:20 -0000 Hello Vladimir, Vladimir Terziev wrote: > I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. > Thanks in advance! I sense bit of irony here, but I hope I just have wrong feeling :). Mixing BSD and Linux libs? Well - what do you say on using native Firefox with linux flash plugin? Works too. I will try to do it, and let's hope I'll be able to get oracle connection to test simple perl script as without it I am bit lost (I used only client stuff, not full oracle database). Martin From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 05:43:56 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 5C7BE16A49E; Tue, 17 Oct 2006 05:43:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331B243D67; Tue, 17 Oct 2006 05:43:55 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GZhjl-000ACr-Sx; Tue, 17 Oct 2006 09:43:37 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GZhl2-0007VK-3e; Tue, 17 Oct 2006 09:44:56 +0400 To: corwin@aeternal.net 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> <45340119.4060008@aeternal.net> From: Boris Samorodov Date: Tue, 17 Oct 2006 09:44:56 +0400 In-Reply-To: <45340119.4060008@aeternal.net> (Martin Hudec's message of "Tue, 17 Oct 2006 00:00:57 +0200") Message-ID: <12111879@srv.sem.ipt.ru> 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-database@freebsd.org, Damian Wiest , shildreth@allantgroup.com, 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: Tue, 17 Oct 2006 05:43:56 -0000 On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: > Vladimir Terziev wrote: > > I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. > > Thanks in advance! > I sense bit of irony here, but I hope I just have wrong feeling :). > Mixing BSD and Linux libs? Well - what do you say on using native > Firefox with linux flash plugin? Works too. > I will try to do it, and let's hope I'll be able to get oracle > connection to test simple perl script as without it I am bit lost (I > used only client stuff, not full oracle database). Just a note: you can't mix FreeBSD and linux libraries at one application. Those processes may interact via stdin/stdout, sockets etc. just fine. But if you try to mix _libraries_ you'll get EFF OS ABI errors. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 07:26:33 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 20D9316A40F; Tue, 17 Oct 2006 07:26:33 +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 E4A4843D6E; Tue, 17 Oct 2006 07:26:13 +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 477FC2EDB03; Tue, 17 Oct 2006 09:26:06 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id 0FB2E2EDAD7; Tue, 17 Oct 2006 09:26:04 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 06F2F28504; Tue, 17 Oct 2006 09:26:08 +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 BC74928503; Tue, 17 Oct 2006 09:26:07 +0200 (CEST) Date: Tue, 17 Oct 2006 10:26:07 +0300 From: Vladimir Terziev To: Boris Samorodov Message-Id: <20061017102607.f31dcf43.vlady@gbservices.biz> In-Reply-To: <12111879@srv.sem.ipt.ru> 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> <45340119.4060008@aeternal.net> <12111879@srv.sem.ipt.ru> 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, Damian Wiest , corwin@aeternal.net, shildreth@allantgroup.com, 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: Tue, 17 Oct 2006 07:26:33 -0000 No irony, i was serious! According to my experience, Boris is right, that's way i was serious. Using flash plugin with native Firefox is based on flashplugin-wrapper. As i know there is no such wrapper for Oracle Linux instantclient, that's way i'm interested to know a new solution, if any. Vladimir On Tue, 17 Oct 2006 09:44:56 +0400 Boris Samorodov wrote: > On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: > > Vladimir Terziev wrote: > > > I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. > > > Thanks in advance! > > > I sense bit of irony here, but I hope I just have wrong feeling :). > > Mixing BSD and Linux libs? Well - what do you say on using native > > Firefox with linux flash plugin? Works too. > > > I will try to do it, and let's hope I'll be able to get oracle > > connection to test simple perl script as without it I am bit lost (I > > used only client stuff, not full oracle database). > > Just a note: you can't mix FreeBSD and linux libraries at one > application. Those processes may interact via stdin/stdout, sockets > etc. just fine. But if you try to mix _libraries_ you'll get EFF OS > ABI errors. > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 07:35:55 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 6C9D516A412 for ; Tue, 17 Oct 2006 07:35:55 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from antivirus.uni-rostock.de (mailrelay2.uni-rostock.de [139.30.8.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8877543D46 for ; Tue, 17 Oct 2006 07:35:52 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from antivirus.exch.rz.uni-rostock.de ([127.0.0.1]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Oct 2006 09:35:51 +0200 Received: from antivirus.uni-rostock.de (unverified) by antivirus.exch.rz.uni-rostock.de (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Tue, 17 Oct 2006 09:35:51 +0200 Received: from mail pickup service by antivirus.uni-rostock.de with Microsoft SMTPSVC; Tue, 17 Oct 2006 09:35:51 +0200 X-SCL: 1 55.08% Received: from mail.uni-rostock.de ([139.30.8.11]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Oct 2006 09:35:39 +0200 Received: from conversion-daemon.mail2.uni-rostock.de by mail2.uni-rostock.de (iPlanet Messaging Server 5.2 HotFix 2.09 (built Nov 18 2005)) id <0J7900I01R4RUV@mail.uni-rostock.de> (original mail from joerg@britannica.bec.de) for freebsd-database@freebsd.org; Tue, 17 Oct 2006 09:35:38 +0200 (MEST) Received: from britannica.bec.de (storm.stura.uni-rostock.de [139.30.252.72]) by mail2.uni-rostock.de (iPlanet Messaging Server 5.2 HotFix 2.09 (built Nov 18 2005)) with ESMTP id <0J79008UYRGW85@mail.uni-rostock.de> for freebsd-database@freebsd.org; Tue, 17 Oct 2006 09:29:20 +0200 (MEST) Received: by britannica.bec.de (Postfix, from userid 1000) id E9ED25741; Tue, 17 Oct 2006 09:28:30 +0200 (CEST) Date: Tue, 17 Oct 2006 09:28:30 +0200 From: Joerg Sonnenberger In-reply-to: <12111879@srv.sem.ipt.ru> To: freebsd-database@freebsd.org Message-id: <20061017072830.GC4299@britannica.bec.de> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) References: <20061010220934.GA1484@dfwdamian.vail> <1160524816.70546.287.camel@fbsd1.dyndns.org> <4531FFCD.8040607@aeternal.net> <1161006945.52932.293.camel@scotth.emsphone.com> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> <45340119.4060008@aeternal.net> <12111879@srv.sem.ipt.ru> X-OriginalArrivalTime: 17 Oct 2006 07:35:39.0797 (UTC) FILETIME=[D814F450:01C6F1BE] 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: Tue, 17 Oct 2006 07:35:55 -0000 On Tue, Oct 17, 2006 at 09:44:56AM +0400, Boris Samorodov wrote: > Just a note: you can't mix FreeBSD and linux libraries at one > application. Those processes may interact via stdin/stdout, sockets > etc. just fine. But if you try to mix _libraries_ you'll get EFF OS > ABI errors. Please carefully read again what he said. Yes, it is possible. Yes, it is evil. Yes, it has to be done with some goat sacrifices and lots of care. But it is certainly possible. Joerg From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 07:59:01 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 8D86316A412 for ; Tue, 17 Oct 2006 07:59:01 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D72F543D7C for ; Tue, 17 Oct 2006 07:59:00 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (fmhmda@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k9H7wrGA060220 for ; Tue, 17 Oct 2006 09:58:59 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k9H7wraY060219; Tue, 17 Oct 2006 09:58:53 +0200 (CEST) (envelope-from olli) Date: Tue, 17 Oct 2006 09:58:53 +0200 (CEST) Message-Id: <200610170758.k9H7wraY060219@lurza.secnetix.de> From: Oliver Fromme To: freebsd-database@FreeBSD.ORG In-Reply-To: X-Newsgroups: list.freebsd-database User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 17 Oct 2006 09:58:59 +0200 (CEST) Cc: Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-database@FreeBSD.ORG 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 07:59:01 -0000 Vladimir Terziev wrote: > I'll be very thankful if you provide working instructions how > to intermix FreeBSD and Linux libraries. Depends on what you mean by "intermix". You cannot link FreeBSD and Linux code together, except under very controlled circumstances (e.g. if the Linux lib doesn't use any syscalls, then it is possible to link it to FreeBSD code). That's because _all_ code of a process has to use the same ABI, and that's either the FreeBSD ABI or the Linux ABI, but you cannot have both at the same time. Unless, of course, you write some glue code, e.g. a wrapper library that does some magic things, but that's usually not worth the effort. It's easier to just re- compile the whole thing for a common ABI (e.g. for the Linux ABI if you don't have source code for the Linux lib). If by "intermix" you mean that they communicate with each other (e.g. via SysV IPC, sockets, FIFOs, whatever), but they run within different process images -- that's not a problem at all. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. It's trivial to make fun of Microsoft products, but it takes a real man to make them work, and a God to make them do anything useful. From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 08:16:20 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 00CE916A415 for ; Tue, 17 Oct 2006 08:16:20 +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 9A15A43D55 for ; Tue, 17 Oct 2006 08:16:11 +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 31DCE2EDB09; Tue, 17 Oct 2006 10:16:06 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id CF1532EDB05; Tue, 17 Oct 2006 10:16:05 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id B66E028517; Tue, 17 Oct 2006 10:16:08 +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 489A428504; Tue, 17 Oct 2006 10:16:08 +0200 (CEST) Date: Tue, 17 Oct 2006 11:16:08 +0300 From: Vladimir Terziev To: freebsd-database@FreeBSD.ORG Message-Id: <20061017111608.410a812b.vlady@gbservices.biz> In-Reply-To: <200610170758.k9H7wraY060219@lurza.secnetix.de> References: <200610170758.k9H7wraY060219@lurza.secnetix.de> 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: Oliver Fromme 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: Tue, 17 Oct 2006 08:16:20 -0000 The discussion here is about mixing native FreeBSD perl and Oracle Linux instant client libraries, not a general discussion about so-called "linux emulation" under FreeBSD. If someone knows how to mix them, then i'll be really thankful to him/her for the directions how to do it. General comments about interoperation of FreeBSD native code and Linux libraries to do solve the issue. Vladimir On Tue, 17 Oct 2006 09:58:53 +0200 (CEST) Oliver Fromme wrote: > Vladimir Terziev wrote: > > I'll be very thankful if you provide working instructions how > > to intermix FreeBSD and Linux libraries. > > Depends on what you mean by "intermix". > > You cannot link FreeBSD and Linux code together, except > under very controlled circumstances (e.g. if the Linux lib > doesn't use any syscalls, then it is possible to link it > to FreeBSD code). That's because _all_ code of a process > has to use the same ABI, and that's either the FreeBSD ABI > or the Linux ABI, but you cannot have both at the same > time. Unless, of course, you write some glue code, e.g. > a wrapper library that does some magic things, but that's > usually not worth the effort. It's easier to just re- > compile the whole thing for a common ABI (e.g. for the > Linux ABI if you don't have source code for the Linux lib). > > If by "intermix" you mean that they communicate with each > other (e.g. via SysV IPC, sockets, FIFOs, whatever), but > they run within different process images -- that's not a > problem at all. > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing > Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd > Any opinions expressed in this message may be personal to the author > and may not necessarily reflect the opinions of secnetix in any way. > > It's trivial to make fun of Microsoft products, > but it takes a real man to make them work, > and a God to make them do anything useful. > _______________________________________________ > 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" From owner-freebsd-database@FreeBSD.ORG Tue Oct 17 10:46:27 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 B93CE16A412 for ; Tue, 17 Oct 2006 10:46:27 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C4443D45 for ; Tue, 17 Oct 2006 10:46:26 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (hsrqxa@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k9HAkJA8067552 for ; Tue, 17 Oct 2006 12:46:25 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k9HAkJ4v067551; Tue, 17 Oct 2006 12:46:19 +0200 (CEST) (envelope-from olli) Date: Tue, 17 Oct 2006 12:46:19 +0200 (CEST) Message-Id: <200610171046.k9HAkJ4v067551@lurza.secnetix.de> From: Oliver Fromme To: freebsd-database@FreeBSD.ORG In-Reply-To: <20061017111608.410a812b.vlady@gbservices.biz> X-Newsgroups: list.freebsd-database User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 17 Oct 2006 12:46:25 +0200 (CEST) Cc: Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-database@FreeBSD.ORG 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 10:46:27 -0000 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. > 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 -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz 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 From owner-freebsd-database@FreeBSD.ORG Wed Oct 18 08:52: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 5299A16A403; Wed, 18 Oct 2006 08:52:38 +0000 (UTC) (envelope-from vlady@gbservices.biz) Received: from atlas.spacebel.com (uu194-7-127-146.unknown.uunet.be [194.7.127.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D6843D53; Wed, 18 Oct 2006 08:52:15 +0000 (GMT) (envelope-from vlady@gbservices.biz) Received: from spacebel.be (spam-hlt.spb.spacebel.be [194.7.127.151]) by atlas.spacebel.com (8.9.3/8.9.3) with ESMTP id KAA09996; Wed, 18 Oct 2006 10:52:19 +0200 (MET DST) Received: from mail pickup service by spacebel.be with Microsoft SMTPSVC; Wed, 18 Oct 2006 10:51:56 +0200 Received: from mail pickup service by spacebel.be with Microsoft SMTPSVC; Wed, 18 Oct 2006 10:41:13 +0200 Received: from spam-hlt ([194.7.127.151]) by spacebel.be with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Oct 2006 13:30:39 +0200 Received: From atlas.spacebel.com ([194.7.127.146]) by spam-hlt (WebShield SMTP v4.5 MR2); id 1161084608562; Tue, 17 Oct 2006 13:30:08 +0200 Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by atlas.spacebel.com (8.9.3/8.9.3) with ESMTP id NAA29316 for ; Tue, 17 Oct 2006 13:30:23 +0200 (MET DST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 952A272636; Tue, 17 Oct 2006 11:28:51 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0B18A16A552; Tue, 17 Oct 2006 11:28:44 +0000 (UTC) (envelope-from owner-freebsd-questions@freebsd.org) 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 20D9316A40F; Tue, 17 Oct 2006 07:26:33 +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 E4A4843D6E; Tue, 17 Oct 2006 07:26:13 +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 477FC2EDB03; Tue, 17 Oct 2006 09:26:06 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id 0FB2E2EDAD7; Tue, 17 Oct 2006 09:26:04 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 06F2F28504; Tue, 17 Oct 2006 09:26:08 +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 BC74928503; Tue, 17 Oct 2006 09:26:07 +0200 (CEST) Date: Tue, 17 Oct 2006 10:26:07 +0300 From: Vladimir Terziev To: Boris Samorodov Message-Id: <20061017102607.f31dcf43.vlady@gbservices.biz> In-Reply-To: <12111879@srv.sem.ipt.ru> 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> <45340119.4060008@aeternal.net> <12111879@srv.sem.ipt.ru> 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 X-Mailman-Approved-At: Tue, 17 Oct 2006 11:28:41 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org X-OriginalArrivalTime: 17 Oct 2006 11:30:39.0984 (UTC) FILETIME=[AC72BF00:01C6F1DF] Cc: freebsd-database@freebsd.org, shildreth@allantgroup.com, corwin@aeternal.net, Damian Wiest , freebsd-questions@freebsd.org Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 08:52:38 -0000 No irony, i was serious! According to my experience, Boris is right, that's way i was serious. Using flash plugin with native Firefox is based on flashplugin-wrapper. As i know there is no such wrapper for Oracle Linux instantclient, that's way i'm interested to know a new solution, if any. Vladimir On Tue, 17 Oct 2006 09:44:56 +0400 Boris Samorodov wrote: > On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: > > Vladimir Terziev wrote: > > > I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. > > > Thanks in advance! > > > I sense bit of irony here, but I hope I just have wrong feeling :). > > Mixing BSD and Linux libs? Well - what do you say on using native > > Firefox with linux flash plugin? Works too. > > > I will try to do it, and let's hope I'll be able to get oracle > > connection to test simple perl script as without it I am bit lost (I > > used only client stuff, not full oracle database). > > Just a note: you can't mix FreeBSD and linux libraries at one > application. Those processes may interact via stdin/stdout, sockets > etc. just fine. But if you try to mix _libraries_ you'll get EFF OS > ABI errors. > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-database@FreeBSD.ORG Wed Oct 18 08:52:50 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 1573E16A47B; Wed, 18 Oct 2006 08:52:50 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from atlas.spacebel.com (uu194-7-127-146.unknown.uunet.be [194.7.127.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id D388343D58; Wed, 18 Oct 2006 08:52:44 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from spacebel.be (spam-hlt.spb.spacebel.be [194.7.127.151]) by atlas.spacebel.com (8.9.3/8.9.3) with ESMTP id KAA10076; Wed, 18 Oct 2006 10:52:37 +0200 (MET DST) Received: from mail pickup service by spacebel.be with Microsoft SMTPSVC; Wed, 18 Oct 2006 10:51:56 +0200 Received: from mail pickup service by spacebel.be with Microsoft SMTPSVC; Wed, 18 Oct 2006 10:41:12 +0200 Received: from spam-hlt ([194.7.127.151]) by spacebel.be with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Oct 2006 13:30:35 +0200 Received: From atlas.spacebel.com ([194.7.127.146]) by spam-hlt (WebShield SMTP v4.5 MR2); id 1161084575406; Tue, 17 Oct 2006 13:29:35 +0200 Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by atlas.spacebel.com (8.9.3/8.9.3) with ESMTP id NAA29302 for ; Tue, 17 Oct 2006 13:29:49 +0200 (MET DST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 5D30856314; Tue, 17 Oct 2006 11:28:24 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5786216A537; Tue, 17 Oct 2006 11:28:16 +0000 (UTC) (envelope-from owner-freebsd-questions@freebsd.org) 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 5C7BE16A49E; Tue, 17 Oct 2006 05:43:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331B243D67; Tue, 17 Oct 2006 05:43:55 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GZhjl-000ACr-Sx; Tue, 17 Oct 2006 09:43:37 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GZhl2-0007VK-3e; Tue, 17 Oct 2006 09:44:56 +0400 To: corwin@aeternal.net 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> <20061016171841.d569ea5e.vlady@gbservices.biz> <1161013656.52932.301.camel@scotth.emsphone.com> <4533AA65.9010708@aeternal.net> <20061016185245.3421bf44.vlady@gbservices.biz> <45340119.4060008@aeternal.net> From: Boris Samorodov Date: Tue, 17 Oct 2006 09:44:56 +0400 In-Reply-To: <45340119.4060008@aeternal.net> (Martin Hudec's message of "Tue, 17 Oct 2006 00:00:57 +0200") Message-ID: <12111879@srv.sem.ipt.ru> 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 X-Mailman-Approved-At: Tue, 17 Oct 2006 11:28:12 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org X-OriginalArrivalTime: 17 Oct 2006 11:30:35.0984 (UTC) FILETIME=[AA106500:01C6F1DF] Cc: freebsd-database@freebsd.org, Damian Wiest , shildreth@allantgroup.com, freebsd-questions@freebsd.org Subject: Re: Installing Oracle Client 10g on FreeBSD X-BeenThere: freebsd-database@freebsd.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 08:52:50 -0000 On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: > Vladimir Terziev wrote: > > I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. > > Thanks in advance! > I sense bit of irony here, but I hope I just have wrong feeling :). > Mixing BSD and Linux libs? Well - what do you say on using native > Firefox with linux flash plugin? Works too. > I will try to do it, and let's hope I'll be able to get oracle > connection to test simple perl script as without it I am bit lost (I > used only client stuff, not full oracle database). Just a note: you can't mix FreeBSD and linux libraries at one application. Those processes may interact via stdin/stdout, sockets etc. just fine. But if you try to mix _libraries_ you'll get EFF OS ABI errors. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"