You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/12/15 18:55:58 UTC

[GitHub] gigasquid commented on issue #13626: Re-organize Scala maven build

gigasquid commented on issue #13626: Re-organize Scala maven build
URL: https://github.com/apache/incubator-mxnet/pull/13626#issuecomment-447590169
 
 
   `make scalapkg` failed for me on OSX with 
   
   ```[INFO] 
   [INFO] --- exec-maven-plugin:1.6.0:java (apidoc-generation) @ mxnet-macros_2.11 ---
   [WARNING] 
   java.lang.UnsatisfiedLinkError: /Users/cmeier/workspace/deep-learning/mxnet/scala-package/init-native/osx-x86_64/target/libmxnet-init-scala-osx-x86_64.jnilib: dlopen(/Users/cmeier/workspace/deep-learning/mxnet/scala-package/init-native/osx-x86_64/target/libmxnet-init-scala-osx-x86_64.jnilib, 1): Library not loaded: @rpath/libmxnet.so
     Referenced from: /Users/cmeier/workspace/deep-learning/mxnet/scala-package/init-native/osx-x86_64/target/libmxnet-init-scala-osx-x86_64.jnilib
     Reason: image 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:1824)
   	at java.lang.Runtime.load0(Runtime.java:809)
   	at java.lang.System.load(System.java:1086)
   	at org.apache.mxnet.init.Base$.tryLoadInitLibrary(Base.scala:51)
   	at org.apache.mxnet.init.Base$.<init>(Base.scala:21)
   	at org.apache.mxnet.init.Base$.<clinit>(Base.scala)
   	at org.apache.mxnet.GeneratorBase.getBackEndFunctions(GeneratorBase.scala:64)
   	at org.apache.mxnet.GeneratorBase.typeSafeFunctionsToGenerate(GeneratorBase.scala:53)
   	at org.apache.mxnet.APIDocGenerator$.typeSafeClassGen(APIDocGenerator.scala:51)
   	at org.apache.mxnet.APIDocGenerator$.main(APIDocGenerator.scala:35)
   	at org.apache.mxnet.APIDocGenerator.main(APIDocGenerator.scala)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   Don't know whether the problem is in this PR or has to do with the problem fixed in 
   https://github.com/apache/incubator-mxnet/pull/13655

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services