From owner-freebsd-database@FreeBSD.ORG Mon Nov 1 02:40:30 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465B416A4CE for ; Mon, 1 Nov 2004 02:40:30 +0000 (GMT) Received: from beaver.trit.org (beaver.trit.org [69.107.245.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 146AA43D53 for ; Mon, 1 Nov 2004 02:40:30 +0000 (GMT) (envelope-from dd@freebsd.org) Received: by beaver.trit.org (Postfix, from userid 1000) id DAAF390D525; Mon, 1 Nov 2004 02:40:29 +0000 (UTC) Date: Mon, 1 Nov 2004 02:40:29 +0000 From: Dima Dorfman To: Jon Adams Message-ID: <20041101024029.GD22539@trit.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4184D6E5.7020009@computer.org> User-Agent: Mutt/1.4.2.1i X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 02:40:30 -0000 [Jon Adams] > >>bash-2.04$ ./setup_stubs.sh > >>Setting up patch files...done. > >>Patching makefiles as necessary: > >> > >> > >... > > > > > >>Rebuilding client shared library...ld: cannot find -ldl [Dima Dorfman] > >You should be compiling and running everything Oracle-related under > >Linux emulation, and if you installed the linux_devtools port, you > >should have libdl in /compat/linux/lib. I suspect that either you > >aren't running under Linux emulation or that you don't have that port > >installed. [Jon Adams] > I do have libdl > ... > do I need to put a -L somewhere in the oracle files, do I need to modify > my LD_INCLUDE_PATH ? /lib is almost certainly already in the library path. The most likely explanation is that the compiler (or linker, or whatever is trying to access libdl) isn't running under Linux emulation. Even if you start something from a compat shell, it can break out of the emulator if something tries to run a FreeBSD binary. We need to find the command that it's trying to run when it fails. Find the script that it's in (it might be setup_stubs, but it might be another one) and run it with the -x option to sh to show the commands being executed. After you find the command, try executing it manually (in the right directory), and if it still doesn't work, look for the offending FreeBSD binary (it might be executed indirectly as an interpreter, for example). Dima.