From owner-freebsd-database Wed Jan 27 21:51:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA17362 for freebsd-database-outgoing; Wed, 27 Jan 1999 21:51:59 -0800 (PST) (envelope-from owner-freebsd-database@FreeBSD.ORG) Received: from bsd.braz.ru (ns.braz.ru [194.84.218.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17354 for ; Wed, 27 Jan 1999 21:51:56 -0800 (PST) (envelope-from posonsky@braz.ru) Received: from posonsky (posonsky.braz.ru [194.84.218.76]) by bsd.braz.ru (8.9.1a/8.9.1) with SMTP id NAA13253 for ; Thu, 28 Jan 1999 13:51:50 +0800 (IS) Message-ID: <001301be4a82$3d09aa00$4cda54c2@posonsky.braz.ru> From: "Stanislav Posonsky" To: Subject: Help to run OCI FreeBSD program Date: Thu, 28 Jan 1999 13:51:19 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk Hi! I'd installed Oracle8 for Linux and made a very simple OCI program (olog -> oopen -> sleep(2) -> oclose -> ologof) as a test under FreeBSD 3.0.0-SNAP-19981225. But it does not run. This is like following (as I remember): %mkdir /usr/xperiment %cp a_program /usr/xperiment/ %cd /usr/xperiment %./a_program _some_binary_: unable to find _this_shared_library_ %cp /_path_/_this_shared_library_ `pwd`/ %ldconfig `pwd` %./a_program _some_binary_: unable to find _another_shared_library_ %cp /_path_/_another_shared_library_ `pwd`/ %ldconfig `pwd` . . . %./a_program _some_another: in libnsl.so.1 undefined reference to "__pthread_mutex_lock" Later I found all Linux shared libraries which content this symbol and copied they to the /usr/xperiment, ran brandelf and ldconfig. But result was the same. If anybody knows how to solve this sorrow, I'd like to be helped. Bye, mailto:posonsky@braz.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message From owner-freebsd-database Wed Jan 27 23:34:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01045 for freebsd-database-outgoing; Wed, 27 Jan 1999 23:34:23 -0800 (PST) (envelope-from owner-freebsd-database@FreeBSD.ORG) Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01038 for ; Wed, 27 Jan 1999 23:34:21 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id IAA37205; Thu, 28 Jan 1999 08:34:09 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <199901280734.IAA37205@freebsd.dk> Subject: Re: Help to run OCI FreeBSD program In-Reply-To: <001301be4a82$3d09aa00$4cda54c2@posonsky.braz.ru> from Stanislav Posonsky at "Jan 28, 1999 1:51:19 pm" To: posonsky@braz.ru (Stanislav Posonsky) Date: Thu, 28 Jan 1999 08:34:09 +0100 (CET) Cc: freebsd-database@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk It seems Stanislav Posonsky wrote: > Hi! > I'd installed Oracle8 for Linux and made a very simple OCI program > (olog -> oopen -> sleep(2) -> oclose -> ologof) as a test under FreeBSD > 3.0.0-SNAP-19981225. But it does not run. This is like following (as I > remember): You will have to use an account that uses a Linux shell, and that has the PATH set to use linux development utils instead of FreeBSD ones, ie PATH=/compat/linux/bin:/compat/linux/usr/bin. You have to compile the entire program is if it where on a linux box. When you run Oracle, FreeBSD is reduced to a better Linux kernel, everything else has to be Linux bins/libs/includes.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message