Installation on Fedora25 x86_64 Failure on libopenblas.so Link

asked 2017-09-13 11:23:55 -0600

updated 2017-09-13 19:09:02 -0600

jayess gravatar image

Hi, I was trying to install ROS on fc25 x86_64 from source by instruction from ROS Wiki.

I was installing a full version and encountered following issue:

[ 45%] Linking CXX shared library ../../lib/libopencv_xobjdetect3.so
../../lib/libopencv_core3.so.3.2.0: undefined reference to `cblas_sgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, float, float const*, int, float const*, int, float, float*, int)'
../../lib/libopencv_core3.so.3.2.0: undefined reference to `cblas_zgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, void const*, void const*, int, void const*, int, void const*, void*, int)'
../../lib/libopencv_core3.so.3.2.0: undefined reference to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, double, double const*, int, double const*, int, double, double*, int)'
../../lib/libopencv_core3.so.3.2.0: undefined reference to `cblas_cgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, void const*, void const*, int, void const*, int, void const*, void*, int)'
collect2: error: ld returned 1 exit status
apps/annotation/CMakeFiles/opencv_annotation.dir/build.make:101: recipe for target 'bin/opencv_annotation' failed
make[2]: *** [bin/opencv_annotation] Error 1
CMakeFiles/Makefile2:4998: recipe for target 'apps/annotation/CMakeFiles/opencv_annotation.dir/all' failed

I have had the lib installed and Makefile has pointed to the right place. I have no graphic card installed.

Error log: https://docs.google.com/document/d/1Z...

Lib info: https://docs.google.com/document/d/1K...

Would you please help? Don't know where to go. Thank you very much.

edit retag flag offensive close merge delete