The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
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
Question Unable to start on AsusWRT-Merlin with optware-ng
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

MinimServer desktop integration is not available
MinimServer automatic startup is not available

Do you want to change these settings (y/n)?
n
# ./bin/startc
MinimServer 0.8.4 update 83, Copyright (c) 2012-2016 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: /tmp/mnt/sda1/minimserver/tmp/native/libohNet.so: File not found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1837)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:573)
        at org.jminim.lib.OhNetService.createDeviceStack(OhNetService.java:480)
        at org.jminim.lib.OhNetService.createDeviceFactory(OhNetService.java:383)
        at org.jminim.lib.OhNetService.access$1800(OhNetService.java:47)
        at org.jminim.lib.OhNetService$Proxy.createDeviceFactory(OhNetService.java:949)
        at org.jminim.lib.MonitorService$Monitor.createDevice(MonitorService.java:263)
        at org.jminim.lib.MonitorService$Monitor.listenerAdded(MonitorService.java:339)
        at org.jminim.core.RuntimeImpl.addEventListener(RuntimeImpl.java:1285)
        at org.jminim.lib.RuntimeService$Proxy.addEventListener(RuntimeService.java:217)
        at com.minimserver.Server.doStart(Server.java:693)
        at com.minimserver.Server.start(Server.java:456)
        at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
        at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
        at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:47)
        at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
        at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1417)
        at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1110)
        at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jminim.launch.Launcher.doLaunch(Launcher.java:677)
        at org.jminim.launch.Launcher.launch(Launcher.java:210)
        at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help):
>
# ls -la /tmp/mnt/sda1/minimserver/tmp/native/libohNet.so
-rw-rw-rw-    1 user     root       1776112 May  9 21:57 /tmp/mnt/sda1/minimserver/tmp/native/libohNet.so
# ldd /tmp/mnt/sda1/minimserver/tmp/native/libohNet.so
-sh: /tmp/mnt/sda1/minimserver/tmp/native/libohNet.so: Permission denied
# ipkg list |grep libstd
libstdc++ - 6.0.21-6 - Standard C++ library, needed for dynamically linked C++ programs
# uname -a
Linux RT-AC87U-7FA8 2.6.36.4brcmarm #2 SMP PREEMPT Sun Mar 20 16:07:06 EDT 2016 armv7l GNU/Linux
# java -version
openjdk version "1.8.0_102-Optware-ng"
OpenJDK Runtime Environment (build 1.8.0_102-Optware-ng-b02)
OpenJDK Zero VM (build 25.102-b02, interpreted mode)
# ldd --version
-sh: --version: not found
# /lib/libc.so.0
stack smashing detected:  terminated()
Segmentation fault
# cat /etc/ld.so.conf
/opt/lib
/opt/usr/lib
/lib
/usr/lib
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Unable to start on AsusWRT-Merlin with optware-ng - z4r9 - 09-05-2016 23:34

Forum Jump:


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