Try the following on the java binary:

LD_DEBUG=files ./java

This will force the dynamic linker to output debug information on the libraries
it is attempting to load.  Other options are available.  Use LD_DEBUG=help
./java for a screen full of info.  Setting LD_DEBUG_OUTPUT=<filename> sends the
output to a file, rather than the console.

Scott

[EMAIL PROTECTED] wrote:
> 
> On Wed, 14 Jun 2000, Hanske;Stefan wrote:
> 
> >
> >
> > On Wed, 14 Jun 2000, Chris Price wrote:
> >
> > > [root@kewl green_threads]# ls -l java
> > > -rwxr-xr-x   1 cprice   cprice      11355 Aug 20  1999 java
> > > [root@kewl green_threads]# ./java
> > > bash: ./java: No such file or directory
> > > [root@kewl green_threads]# pwd
> > > /usr/local/jdk118_v1/bin/armv4l/green_threads
> > >
> >
> > Try ldd on that binary, it will show you what dynamic objects are missing
> > or try strace (the output is more complicated but more usable, it shows
> > all the search paths, too).
> >
> 
>         OK, so I tried strace and ldd on the actual java binary (not the
> softlink to .java_wrapper)
> 
> [root@kewl green_threads]# ls -l java
> -rwxrwxrwx   1 cprice   cprice      11355 Aug 20  1999 java
> 
> [root@kewl green_threads]# ldd java
> /usr/bin/ldd: ./java: No such file or directory
> 
> [root@kewl green_threads]# strace java
> strace: java: command not found
> 
> [root@kewl green_threads]# strace ./java
> execve("./java", ["./java"], [/* 23 vars */]) = 0
> strace: exec: No such file or directory
> 
> [root@kewl green_threads]# ldd ./java
> /usr/bin/ldd: ./java: No such file or directory
> [root@kewl green_threads]#
> 
>         Still confused, but VERY appreciative of everyone's help :)
> 
>         Chris
> 
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++        Please use [EMAIL PROTECTED] for           ++
> ++                        kernel-related discussions.                      ++

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to