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.