Post Reply 
Unable to start on AsusWRT-Merlin with optware-ng
13-05-2016, 21:56 (This post was last modified: 13-05-2016 21:57 by z4r9.)
Post: #8
RE: Unable to start on AsusWRT-Merlin with optware-ng
Update:
After upgrading to the latest AsusWRT-Merlin firmware version for my router, resetting NVRAM, re-making JFFS, re-formatting USB, creating / enabling 2GB swap and installing optware-ng I still get the same error upon attempting to execute MinimServer. BubbleUPNP and a number of other packages install and run as expected.

tmp/native/libohNet.so is extracted from lib/ohnet\(linux-arm\)-1.6.1919.zip without executable permissions but I think my environment might need libs to be executable:

Code:
# ldd `which zip`
        libc.so.1 => /opt/lib/libc.so.1 (0x401c6000)
        ld-uClibc.so.1 => /opt/lib/ld-uClibc.so.1 (0x400d7000)
# ldd /opt/lib/libc.so.1
        ld-uClibc.so.1 => /opt/lib/ld-uClibc.so.1 (0x4000f000)
# ll /opt/lib/libc.so.1
lrwxrwxrwx    1 user     root            19 May 13 19:38 /opt/lib/libc.so.1 -> libuClibc-1.0.13.so*
# chmod -x /opt/lib/libc.so.1
# ldd /opt/lib/libc.so.1
-sh: /opt/lib/libc.so.1: Permission denied
# chmod +x /opt/lib/libc.so.1
# ldd /opt/lib/libc.so.1
        ld-uClibc.so.1 => /opt/lib/ld-uClibc.so.1 (0x400be000)

tmp/ is cleared every time I run MinimServer so I can't just make libohNet.so executable there and then remove it from the ZIP file to prevent it being overwritten. I also tried setting libohNet.so executable and then re-adding it to the ZIP file but ZIP doesn't appear store this attribute.

I am not familiar with Java. Is there some way to make libohNet.so executable after extraction before it is called?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Unable to start on AsusWRT-Merlin with optware-ng - z4r9 - 13-05-2016 21:56

Forum Jump:


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