benz725 commented on issue #19731:
URL: 
https://github.com/apache/incubator-mxnet/issues/19731#issuecomment-778554163


   > You can specify `cmake -DONNX_NAMESPACE=onnx -DUSE_TENSORRT=1 -GNinja 
-DOpenBLAS_Home=/opt/OpenBLAS ..`
   
   Yes, I have tried what you said. But it still reported:
   [ 97%] Linking CXX executable mxnet_unit_tests
   /usr/bin/ld: warning: libcublas.so.10, needed by 
/usr/local/src/TensorRT-7.2.1.6/lib/libmyelin.so.1, may conflict with 
libcublas.so.9.1
   /usr/bin/ld: CMakeFiles/mxnet_unit_tests.dir/cpp/operator/krprod_test.cc.o: 
undefined reference to symbol 'dposv_'
   //usr/lib/x86_64-linux-gnu/liblapack.so.3: error adding symbols: DSO missing 
from command line
   collect2: error: ld returned 1 exit status
   tests/CMakeFiles/mxnet_unit_tests.dir/build.make:427: recipe for target 
'tests/mxnet_unit_tests' failed
   make[2]: *** [tests/mxnet_unit_tests] Error 1
   CMakeFiles/Makefile2:2288: recipe for target 
'tests/CMakeFiles/mxnet_unit_tests.dir/all' failed
   make[1]: *** [tests/CMakeFiles/mxnet_unit_tests.dir/all] Error 2
   Makefile:159: recipe for target 'all' failed
   make: *** [all] Error 2
   
   I have searched in the google, but still cannot fix this bug.
   I have followed the instructions in 
https://mxnet.apache.org/get_started/build_from_source#building-mxnet
   to install OpenBLAS and LAPACK, but it still reported the error like this.
   Can you help me to fix it? @leezu 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to