From owner-freebsd-database@FreeBSD.ORG Tue Nov 2 23:20:05 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 ADD8416A4CE for ; Tue, 2 Nov 2004 23:20:05 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6407D43D58 for ; Tue, 2 Nov 2004 23:20:05 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id iA2NJvwS030116 for ; Tue, 2 Nov 2004 18:19:58 -0500 Message-ID: <41881615.9090501@computer.org> Date: Tue, 02 Nov 2004 18:19:49 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-database@freebsd.org References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> In-Reply-To: <20041101024029.GD22539@trit.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) 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 Reply-To: jkadams@computer.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 23:20:05 -0000 Dima Dorfman wrote: >[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. > ... I set my path to /compat/linux/bin:/compat/linux/usr/bin and noticed that the linker ld itself doesnt exist in the linux compat.... perhaps this is the problem? > >Dima. > > > -- ........................... Jon Adams - "Chance favors the prepared mind" web: http://webpages.uncc.edu/~jkadams AOL IM: j2k4real GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.