lanking520 commented on issue #12802: Crash while loading libmxnet-scala.so URL: https://github.com/apache/incubator-mxnet/issues/12802#issuecomment-429135619 @sameer-kapoor @milandesai We are trying to reproduce the issue you may facing by the steps came from the CI: ``` bash ci/docker/install/centos7_core.sh yum install -y maven yum install -y java-1.8.0-openjdk ``` And build the MXNet backend with the following command: https://github.com/apache/incubator-mxnet/blob/master/ci/docker/runtime_functions.sh#L239-L253 We tested with python install and it succeeds with: ``` pip install -U -e . ``` However, Scala contains linking issues: ``` undefined symbol: _ZN2ps4Meta6kEmptyE (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: __gcov_merge_add (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8Customer11WaitRequestEi (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10PostofficeC1Ev (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10Postoffice18GetServerKeyRangesEv (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: __gcov_init (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8CustomerC1EiiRKSt8functionIFvRKNS_7MessageEEE (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8Customer10NewRequestEi (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10Postoffice12GetDeadNodesEi (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8Customer11NumResponseEi (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8Customer11AddResponseEii (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10Postoffice8FinalizeEib (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10Postoffice5StartEiPKcb (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps8CustomerD1Ev (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps10Postoffice7BarrierEii (./libmxnet-init-scala-linux-x86_64.so) undefined symbol: _ZN2ps3Van4SendERKNS_7MessageE (./libmxnet-init-scala-linux-x86_64.so) ``` From the community feedback from @szha , `ps-lite` and `test-coverage` dependencies are missing. We are diagnosing the issue and see if we can get it work. In the meantime, can you check with ``` ldd -r libmxnet.so ``` To see if there is any linking problem?
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
