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"