Installing Oracle Client 10g on FreeBSD
Oliver Fromme
olli at lurza.secnetix.de
Tue Oct 17 00:59:01 PDT 2006
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.
More information about the freebsd-database
mailing list