|
Unable to start on AsusWRT-Merlin with optware-ng
|
|
09-05-2016, 23:34
(This post was last modified: 10-05-2016 00:01 by z4r9.)
Post: #1
|
|||
|
|||
|
Has anyone gotten MinimServer running on AsusWRT-Merlin (RT-AC87U) with optware-ng? I'm getting an error pertaining to libohNet.so upon execution. Is my environment broken or do I need to compile libohNet.so against the libraries in my environment?
MinimServer-0.8.4-linux-arm.tar.gz Code: # ./bin/setup |
|||
|
10-05-2016, 23:00
Post: #2
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
If your Linux runtime is built for ARM hard float (I can't be sure from the information you have provided), you need to use the MinimServer armhf download instead of the arm download.
|
|||
|
10-05-2016, 23:32
Post: #3
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
Thanks for the response. I have tried both soft and hard float version which result in the same error upon execution. The platform is soft float from what I gather:
Code: # cat /proc/cpuinfo |
|||
|
10-05-2016, 23:48
(This post was last modified: 10-05-2016 23:48 by simoncn.)
Post: #4
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
Is the /tmp directory mounted as noexec? This could cause the problem you are seeing.
|
|||
|
10-05-2016, 23:51
Post: #5
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
No, it's mounted with rw,relatime and perms are 777.
Code: # mount |
|||
|
11-05-2016, 17:01
Post: #6
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
The problem might be related to Optware-ng. I have not used this myself and I am not sure whether anyone has run MinimServer in this environment. Is it necessary to build shared libaries in some special way so that they can run in an Optware-ng environment?
|
|||
|
11-05-2016, 19:22
Post: #7
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
I'm going to reset my router to factory defaults and re-install optware-ng in case its a configuration problem. I couldn't find anyone else who'd attempted to run MinimServer on optware-ng. Building libohNet.so is a little beyond my knowledge, although I'm willing to learn.
|
|||
|
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`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? |
|||
|
13-05-2016, 23:28
Post: #9
|
|||
|
|||
|
RE: Unable to start on AsusWRT-Merlin with optware-ng
Have you tried running ldd on libohNet.so "as is" and then changing libohNet.so to be executable and runnng ldd again?
I have never come across a Linux system that requires all shared libraries to be executable. |
|||
|
13-05-2016, 23:55
(This post was last modified: 14-05-2016 00:21 by z4r9.)
Post: #10
|
|||
|
|||
RE: Unable to start on AsusWRT-Merlin with optware-ng
(13-05-2016 23:28)simoncn Wrote: Have you tried running ldd on libohNet.so "as is" and then changing libohNet.so to be executable and runnng ldd again?Neither had I, until now. Perhaps it's a quirk of uClibc? Code: # ldd tmp/native/libohNet.soEdit: Might be relevant https://www.uclibc.org/FAQ.html#ldd |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



