incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "唐装鼠" <654125...@qq.com>
Subject shared library error
Date Sat, 06 Jul 2013 09:19:06 GMT
Hi,I maked one shared library libshellcode.so which depends on many other shared libraries.In
eclipse,I tested it and it works well.
However,when I use System.load() to load the library libshellcode.so in S4,errors come out
as below:


 16:33:17.437 [atos] ERROR org.apache.s4.core.S4Node - Uncaught exception in thread atos
java.lang.UnsatisfiedLinkError: hello.Shellcode.checkShellcode([BI[I)I
    at hello.Shellcode.checkShellcode(Native Method) ~[qqApp.jar:unspecified]
    at hello.ShellcodeCheckPE.onEvent(ShellcodeCheckPE.java:62) ~[qqApp.jar:unspecified]
    at OverloadDispatcher2665.dispatchEvent(Unknown Source) ~[na:na]
    at org.apache.s4.core.ProcessingElement.handleInputEvent(ProcessingElement.java:461) ~[s4-core-0.6.0-incubating.jar:0.6.0-incubating]
    at org.apache.s4.core.Stream$StreamEventProcessingTask.run(Stream.java:333) ~[s4-core-0.6.0-incubating.jar:0.6.0-incubating]
    at org.apache.s4.comm.staging.BlockingThreadPoolExecutorService$RunnableWithPermitRelease.run(BlockingThreadPoolExecutorService.java:178)
~[s4-comm-0.6.0-incubating.jar:0.6.0-incubating]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
    at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]




It looks like it can not find the dependent libraries of libshellcode.so.I don't know why
S4 can not find dependencies of shared library.Could you help me ?
Thanks!
Mime
View raw message