From owner-freebsd-database@FreeBSD.ORG  Sun Oct 31 13:12:30 2004
Return-Path: <owner-freebsd-database@FreeBSD.ORG>
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 9155F16A4CE
	for <freebsd-database@freebsd.org>;
	Sun, 31 Oct 2004 13:12:30 +0000 (GMT)
Received: from x.ja6.com (x.ja6.com [64.239.13.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 39EFF43D39
	for <freebsd-database@freebsd.org>;
	Sun, 31 Oct 2004 13:12:30 +0000 (GMT)
	(envelope-from jkadams@computer.org)
Received: from [192.168.1.102] (adsl-4-119-123.cae.bellsouth.net
	[65.4.119.123])	(authenticated bits=0)
	by x.ja6.com (8.12.10/8.12.9) with ESMTP id i9VDCOwS010358
	for <freebsd-database@freebsd.org>; Sun, 31 Oct 2004 08:12:25 -0500
Message-ID: <4184D6E5.7020009@computer.org>
Date: Sun, 31 Oct 2004 07:13:25 -0500
From: Jon Adams <jkadams@computer.org>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Cc: freebsd-database@freebsd.org
References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org>
In-Reply-To: <20041031052052.GA22539@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
List-Id: Database use and development under FreeBSD
	<freebsd-database.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-database>,
	<mailto:freebsd-database-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-database>
List-Post: <mailto:freebsd-database@freebsd.org>
List-Help: <mailto:freebsd-database-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-database>,
	<mailto:freebsd-database-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Oct 2004 13:12:30 -0000

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.