From owner-freebsd-hackers Wed Jun 9 18:36:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from colnta.acns.ab.ca (clgr000532.hs.telusplanet.net [161.184.82.24]) by hub.freebsd.org (Postfix) with ESMTP id 105E514D9E for ; Wed, 9 Jun 1999 18:36:24 -0700 (PDT) (envelope-from davidc@acns.ab.ca) Received: from acns.ab.ca (localhost [127.0.0.1]) by colnta.acns.ab.ca (8.9.3/8.9.3) with ESMTP id TAA19754 for ; Wed, 9 Jun 1999 19:35:44 GMT (envelope-from davidc@acns.ab.ca) Message-ID: <375EC210.C3AA6E5@acns.ab.ca> Date: Wed, 09 Jun 1999 19:35:44 +0000 From: Chad David Organization: ACNS Inc. X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Oracle OCI code on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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