-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol lookup error: /usr/lib/libblas.so.3: undefined symbol: gotoblas #1114
Comments
Did you restore system openblas base and relinked all your programs to -lblas after your trip into source build ? What does ldd say if ran against your program? |
Perhaps the steps outlined in JuliaLang/julia#11913 will help ? (I never encountered this, but I now suspect that the symbol "openblas" may only be present in builds with DYNAMIC_ARCH=1 set) |
I did @brada4 I'm a bit beginner here. Would you mind to show simple steps procedures? @martin-frbg I will try those of Julia, thanks! |
Thank you so much! I had |
I was trying to install |
Ubuntu provided openblas is in your alternatives list |
I have now confirmed that it is (only) the multi-cputype builds of the library that contain the symbol "gotoblas", so I guess it should be possible to use your own build of OpenBLAS with the other code if you just build OpenBLAS with "make DYNAMIC_ARCH=1". (DYNAMIC_ARCH will make the library file bigger of course, but it should not hurt otherwise) |
Updated the FAQ (in the Wiki) accordingly. |
Hi, Now, I've "apt-get remove libopenblas-base" and R, I mean blas, is back. |
I cannot get to your R issue with Ubuntu R or CRAN R. What special setup you have? |
I've installed R with Ubuntu packages. Regarding blas, I get it through libatlas-dev and libatlas3-base Ubuntu packages. |
Same issue as yours, it's okay after removing |
There is sane procedure in FAQ for your own build of OpenBLAS: |
@brada4 Thanks! 😆 |
I got the same problem too by the following import line.
But I realised that get this problem only if I import opencv before
Hope it can helps someone. |
Probably each module is linked against different blas implementation. |
This one worked out for me.. |
Openblas package lapack has high alternative priority, if you ever fixed blas to other than openblas it gets incompatible blas. Reference lapack (liblapack-dev) will work with any blas lib. |
This is a saviour. Thanks so much !! :) |
You can replace "private installs" with symlink to /usr/lib/libblas.so.3, then process with update-alternatives --config libblas.so.3 , then expect all apps to use your chosen implementation. |
I've tried the solution of issue #1033, but that didn't work. I'm using Ubuntu 16.04, I've installed
OpenBLAS
using apt-get.My
libblas.so.3
alternatives are,I've also tried to install OpenBLAS from the source, it compiled well, but the problem still existed.
I get this error:
<application_name>
: symbol lookup error: /usr/lib/libblas.so.3: undefined symbol: gotoblas, whenever I try to run any program that uses OpenBLASThe text was updated successfully, but these errors were encountered: