Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 16:17:51 -0500
From:      Jon Adams <jkadams@computer.org>
To:        "Scott T. Hildreth" <shild@sbcglobal.net>
Cc:        "freebsd-database@freebsd.org" <freebsd-database@freebsd.org>
Subject:   Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions
Message-ID:  <4185567F.9050607@computer.org>
In-Reply-To: <1099237271.88424.89.camel@localhost>
References:  <4183FB7B.2090506@computer.org>	 <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <1099237271.88424.89.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jkadams@computer.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4185567F.9050607>