Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Nov 2004 18:19:49 -0500
From:      Jon Adams <jkadams@computer.org>
To:        freebsd-database@freebsd.org
Subject:   Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions
Message-ID:  <41881615.9090501@computer.org>
In-Reply-To: <20041101024029.GD22539@trit.org>
References:  <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org>

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



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