Post Reply 
OpenWRT or router install
07-01-2015, 09:39
Post: #24
RE: OpenWRT or router install
(06-01-2015 23:53)alexinc Wrote:  for soft-float i'm getting:

root@OpenWrt:/# ldd /usr/share/java/ejre1.7.0_71/bin/java
ldd: can't open cache '/etc/ld.so.cache'
checking sub-depends for '/lib/libpthread.so.0'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libgcc_s.so.1'
libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
libjli.so => not found (0x00000000)
libdl.so.2 => not found (0x00000000)
libc.so.6 => not found (0x00000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
not a dynamic executable

hard-float didn't make any difference:

root@OpenWrt:/# ldd /usr/share/java/ejre1.7.0_71/bin/java
ldd: can't open cache '/etc/ld.so.cache'
checking sub-depends for '/lib/libpthread.so.0'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
libjli.so => not found (0x00000000)
libdl.so.2 => not found (0x00000000)
libc.so.6 => not found (0x00000000)
ld-uClibc.so.0 => ld-uClibc.so.0 (0x00000000)

Actually, it looks like hard float did make a small difference. There isn't a "not a dynamic executable" message at the end, unless you accidentally omitted this when copying and pasting the output.

The issue with missing libraries seems to be related to glibc support on OpenWRT. According to this thread (from 2011), OpenWRT doesn't support binaries compiled for glibc. Can you check on the OpenWRT forum whether this is correct? If so, you won't be able to run Java SE Embedded on OpenWRT.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: OpenWRT or router install - simoncn - 07-01-2015 09:39

Forum Jump:


User(s) browsing this thread: 1 Guest(s)