Installing Oracle Client 10g on FreeBSD

Vladimir Terziev vlady at gbservices.biz
Tue Oct 17 01:16:20 PDT 2006


	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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe at freebsd.org"


More information about the freebsd-database mailing list