Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 1999 19:35:44 +0000
From:      Chad David <davidc@acns.ab.ca>
To:        freebsd-hackers@freebsd.org
Subject:   Oracle OCI code on FreeBSD
Message-ID:  <375EC210.C3AA6E5@acns.ab.ca>

next in thread | raw e-mail | index | archive | help
I have managed to install Oracle 8.0.5 on FreeBSD 3.2-STABLE, and
everything
seems to be fine, but I am unable to run an OCI program that I am
porting from
Solaris.  I started out with unresolved symbols in libclntsh.so, and I
"got ride" of
them by relinking libclntsh.so against /usr/compat/linux/lib/libc.so.6.

The OCI specific code is compiled into a shared object, and is loaded
into my
program via dlopen() / dlsym(), which leaves me wondering what happens
when
a Linux shared object is loaded into a FreeBSD process?  Is this
possible (linking
against linux/lib/libc.so.6) or am I completely out to lunch?  Has
anybody managed
to get an OCI program running on FreeBSD?

When I run the program I get hit with SIGBUS as soon as the symbol in my
shared
object is called.   I am not really sure what other details would be
helpful, but if anyone
is at all interested in the I would be happy to supply more :).

Chad David
davidc@guild.ab.ca



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375EC210.C3AA6E5>