[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blind spot for java



Graham Smith wrote:

>On Friday 26 August 2005 15:32, Kent West wrote:
>  
>
>>Graham Smith wrote:
>>    
>>
>>>$ldd java
>>>/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
>>>ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)
>>>      
>>>
>>What's the result of "ls -ld /lib/ld-linux*"?
>>    
>>
>
># ls -ld /lib/ld-linux*
>lrwxrwxrwx  1 root root 11 2005-08-22 16:17 /lib/ld-linux-x86-64.so.2 -> 
>ld-2.3.5.so
>
>I note the lack of /lib/ld-linux.so.2
>
<snip>

>running the ls _inside_ the chroot shows the required file to be present.
>
># ls -ld /lib/ld-linux*
>lrwxrwxrwx  1 root root 11 2005-08-25 18:12 /lib/ld-linux.so.2 -> ld-2.3.5.so
>  
>
I'm a little hazy on the chroot; is your "./java" command failing to be
found while in chroot, or while not in chroot. If while in, that seems
odd, as the symlink is there. If while not in, I'd just create a new
symlink:

ln -s /lib/ld-2.3.5.so /lib/ld-linux.so.s

should do it.


-- 
Kent West
Technology Support
/A/bilene /C/hristian /U/niversity



Reply to: