OpenBLAS: Symbol lookup error: /usr/lib/libblas.so.3: undefined symbol: gotoblas
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.
sudo update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3
My libblas.so.3 alternatives are,
sudo update-alternatives --list libblas.so.3
/usr/lib/atlas-base/atlas/libblas.so.3
/usr/lib/libblas/libblas.so.3
/usr/lib/openblas-base/libblas.so.3
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 OpenBLAS
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (7 by maintainers)
Hi, this morning I “apt-get install julia” on my Ubuntu 16.04. It automatically installed libopenblass-base and now, when I call R, I have the exact same message as yours. Before this update, R was working, and I was using blas through the atlas package.
Now, I’ve “apt-get remove libopenblas-base” and R, I mean blas, is back.
Thank you so much!
I had
libopenblas.so.0in/usr/local/lib. That causes the error. I assume that I should remove the version of OpenBLAS I built from the source, since I had one from Ubuntu PPA.I was trying to install
qgis. For some reason, qgis installs its own version of openblas atusr/local/lib. I had to removelibopenblas.so.0from that location. When I installedqgis, I got the same error again. So, I removedlibopenblas.so.0from/usr/local/libagain, and didapt-get install -f. And it solves the problem. I just want to that conflict because of me, or fromqgis?This one worked out for me…