Date: Tue, 17 Oct 2006 11:16:08 +0300 From: Vladimir Terziev <vlady@gbservices.biz> To: freebsd-database@FreeBSD.ORG Cc: Oliver Fromme <olli@lurza.secnetix.de> Subject: Re: Installing Oracle Client 10g on FreeBSD Message-ID: <20061017111608.410a812b.vlady@gbservices.biz> In-Reply-To: <200610170758.k9H7wraY060219@lurza.secnetix.de> References: <freebsd-database.20061016185245.3421bf44.vlady@gbservices.biz> <200610170758.k9H7wraY060219@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <olli@lurza.secnetix.de> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061017111608.410a812b.vlady>