Robotics StackExchange | Archived questions

Installation on Fedora25 x86_64 Failure on libopenblas.so Link

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/1ZtB8ielsdW24WpxYqv0bdIKmPBCZ8BW8EphIEvsmCT0/edit?usp=sharing

Lib info: https://docs.google.com/document/d/1KX8l8d2bdytj418rLCH-4XicKU0UivPUUGIobHdNDqo/edit?usp=sharing

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

Asked by fulltopic on 2017-09-13 11:23:55 UTC

Comments

Answers