From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 21:18: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 96E3616A4CE for ; Sun, 31 Oct 2004 21:18:05 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DA943D2D for ; Sun, 31 Oct 2004 21:18: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 i9VLHvwS022299; Sun, 31 Oct 2004 16:17:58 -0500 Message-ID: <4185567F.9050607@computer.org> Date: Sun, 31 Oct 2004 16:17:51 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Scott T. Hildreth" References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <1099237271.88424.89.camel@localhost> In-Reply-To: <1099237271.88424.89.camel@localhost> 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) 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 21:18:05 -0000 yep /compat/linux/bin/bash here is my environment: su-2.04$ env PWD=/data/oracle ORACLE_SID=NITRO PAGER=more FTP_PASSIVE_MODE=YES HOSTNAME=east LD_LIBRARY_PATH=/ora/app/lib ENV=/data/oracle/.shrc BLOCKSIZE=K USER=oracle LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE=i386-redhat-linux-gnu MAIL=/var/spool/mail/oracle INPUTRC=/etc/inputrc EDITOR=vi ORACLE_BASE=/ora ORACLE_HOME=/ora/app SHLVL=1 LOGNAME=oracle SHELL=/compat/linux/bin/bash HOSTTYPE=i386 OSTYPE=linux-gnu HISTSIZE=1000 HOME=/data/oracle TERM=vt100 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 _=/usr/bin/env Scott T. Hildreth wrote: >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. >>> >>> >>> >>> >>> > > > -- 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.