Wrong symbolic link in openblas package

Problems with packages? Post here, using [tags] of the package name.

Wrong symbolic link in openblas package

Postby RonisBR » Mon Jun 15, 2020 6:33 pm

Hi!

I installed the openblas and tried to link a software against it. However, I was seeing and error saying that the library -lblas did not exist:

$this->bbcode_second_pass_code('', '[root@f37163401666 ~]# gcc -lblas teste.c
/usr/sbin/ld: cannot find -lblas')

After some analysis, it turns out that the symbolic link provided by the openblas package points to a file that does not exist:

$this->bbcode_second_pass_code('', '[root@f37163401666 lib]# ls -la |grep blas
lrwxrwxrwx 1 root root 22 Mar 9 13:23 libblas.so -> libopenblasp-r0.3.9.so
lrwxrwxrwx 1 root root 13 May 19 07:45 libcblas.so -> libcblas.so.3
lrwxrwxrwx 1 root root 17 May 19 07:45 libcblas.so.3 -> libcblas.so.3.9.0
-rwxr-xr-x 1 root root 87256 May 19 07:45 libcblas.so.3.9.0
lrwxrwxrwx 1 root root 28 Mar 9 13:23 libopenblas.so -> libopenblas_armv7p-r0.3.9.so
lrwxrwxrwx 1 root root 28 Mar 9 13:23 libopenblas.so.3 -> libopenblas_armv7p-r0.3.9.so
-rwxr-xr-x 1 root root 2197288 Mar 9 13:23 libopenblas_armv7p-r0.3.9.so')

Notice that libblas.so is pointing to libopenblasp-r0.3.9.so instead of libopenblas_armv7p-r0.3.9.so. After modifying the symbolic link, everything started to work fine.
RonisBR
 
Posts: 4
Joined: Mon Jun 15, 2020 6:27 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 17 guests