From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 15:41:09 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 257C316A4CE for ; Sun, 31 Oct 2004 15:41:09 +0000 (GMT) Received: from fbsd1.dyndns.org (adsl-68-20-11-185.dsl.emhril.ameritech.net [68.20.11.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7635543D2F for ; Sun, 31 Oct 2004 15:41:08 +0000 (GMT) (envelope-from shild@sbcglobal.net) Received: from fbsd1.dyndns.org (localhost [127.0.0.1]) by fbsd1.dyndns.org (8.13.1/8.13.1) with ESMTP id i9VFfCau042283; Sun, 31 Oct 2004 09:41:12 -0600 (CST) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.13.1/8.13.1/Submit) id i9VFfBdG042282; Sun, 31 Oct 2004 09:41:11 -0600 (CST) (envelope-from shild@sbcglobal.net) X-Authentication-Warning: fbsd1.dyndns.org: shildret set sender to shild@sbcglobal.net using -f From: "Scott T. Hildreth" To: Jon Adams In-Reply-To: <4184D6E5.7020009@computer.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1099237271.88424.89.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 31 Oct 2004 09:41:11 -0600 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: Sun, 31 Oct 2004 15:41:09 -0000 Are you running as Oracle user from the linux shell? On Sun, 2004-10-31 at 06:13, Jon Adams wrote: > Dima, > > Thanks for the response, but I do have libdl > > east# ls -l /compat/linux/lib | grep dl > -rwxr-xr-x 1 root wheel 65473 Mar 6 2003 libdl-2.2.4.so > lrwxr-xr-x 1 root wheel 14 Jul 26 15:25 libdl.so.2 -> libdl-2.2.4.so > > for some reason its not seeing it though. One of the first things I did > post-install was enable linux emulation and install dev-tools, > needed it to get my J2SDK and Tomcat up and running. > > I also rebuilt the kernel with the Oracle settings for Shared Memory and > Semaphores > > do I need to put a -L somewhere in the oracle files, do I need to modify > my LD_INCLUDE_PATH ? > > my paths looks like this: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/data/oracle/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ora/app/bin > SSH_TTY=/dev/ttyp1 > > LD_LIBRARY_PATH=/ora/app/lib > > my oracle sources are in /data/oracle/Disk1, I am installing it in /ora > > I am hoping to move to 5.3 as soon as I get the chance... but I need > the DBMS online like yesterday > > I am thinking this is something small, but since I am a recent convert > to FreeBSD, I just dont know where to look to fix it. > > Dima Dorfman wrote: > > >Jon Adams wrote: > > > > > >>bash-2.04$ ./setup_stubs.sh > >>Setting up patch files...done. > >>Patching makefiles as necessary: > >> > >> > >... > > > > > >>Rebuilding client shared library...ld: cannot find -ldl > >> > >> > >>Now I know -ldl is for the dlopen function in Linux, which are in a > >>different place than in FreeBSD, > >> > >> > > > >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. > > > > > > > >>BTW: please do not tell me to try Oracle 9i, or that I should use > >>another version of FreeBSD, or something like that, I am locked in this > >>hardware and OS, so I need to get it to work with the current setup as > >>much as possible. > >> > >> > > > >If you're stuck then you're stuck, but I really would recommend trying > >to at least get away from 5.1, which really wasn't a production- > >quality release. > > > > > > >