Closed josephmisiti closed 10 years ago
Tried this, and it didnt fix it either
ubuntu@ip-10-118-147-134:/socialq/overfeat$ sudo apt-get install libopenblas-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
liblapack3gf
The following NEW packages will be installed:
libopenblas-base
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
Need to get 3,625 kB of archives.
After this operation, 19.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/universe libopenblas-base amd64 0.1alpha2.2-3 [3,625 kB]
Fetched 3,625 kB in 0s (7,363 kB/s)
Selecting previously unselected package libopenblas-base.
(Reading database ... 60951 files and directories currently installed.)
Unpacking libopenblas-base (from .../libopenblas-base_0.1alpha2.2-3_amd64.deb) ...
Setting up libopenblas-base (0.1alpha2.2-3) ...
update-alternatives: using /usr/lib/openblas-base/libopenblas.so.0 to provide /usr/lib/libblas.so.3gf (libblas.so.3gf) in auto mode.
ubuntu@ip-10-118-147-134:/socialq/overfeat$ bin/linux_64/overfeat samples/bee.jpg
/socialq/overfeat/bin/linux_64/overfeatcmd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
sh: 1: convert: not found
ubuntu@ip-10-118-147-134:/socialq/overfeat$ sudo apt-get install libopenblas-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
liblapack3gf
The following NEW packages will be installed:
libopenblas-base
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
Need to get 3,625 kB of archives.
After this operation, 19.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/universe libopenblas-base amd64 0.1alpha2.2-3 [3,625 kB]
Fetched 3,625 kB in 0s (7,363 kB/s)
Selecting previously unselected package libopenblas-base.
(Reading database ... 60951 files and directories currently installed.)
Unpacking libopenblas-base (from .../libopenblas-base_0.1alpha2.2-3_amd64.deb) ...
Setting up libopenblas-base (0.1alpha2.2-3) ...
update-alternatives: using /usr/lib/openblas-base/libopenblas.so.0 to provide /usr/lib/libblas.so.3gf (libblas.so.3gf) in auto mode.
ubuntu@ip-10-118-147-134:/socialq/overfeat$ bin/linux_64/overfeat samples/bee.jpg
/socialq/overfeat/bin/linux_64/overfeatcmd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
sh: 1: convert: not foundubuntu@ip-10-118-147-134:/socialq/overfeat$ sudo apt-get install libopenblas-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
liblapack3gf
The following NEW packages will be installed:
libopenblas-base
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
Need to get 3,625 kB of archives.
After this operation, 19.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/universe libopenblas-base amd64 0.1alpha2.2-3 [3,625 kB]
Fetched 3,625 kB in 0s (7,363 kB/s)
Selecting previously unselected package libopenblas-base.
(Reading database ... 60951 files and directories currently installed.)
Unpacking libopenblas-base (from .../libopenblas-base_0.1alpha2.2-3_amd64.deb) ...
Setting up libopenblas-base (0.1alpha2.2-3) ...
update-alternatives: using /usr/lib/openblas-base/libopenblas.so.0 to provide /usr/lib/libblas.so.3gf (libblas.so.3gf) in auto mode.
ubuntu@ip-10-118-147-134:/socialq/overfeat$ bin/linux_64/overfeat samples/bee.jpg
/socialq/overfeat/bin/linux_64/overfeatcmd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
sh: 1: convert: not found
The fix is the following:
sudo apt-get install libopenblas-base
And then
export LD_LIBRARY_PATH=/usr/lib/openblas-base/
Although, if you build from source, I think you could change the LD_LIBRARY_PATH and you would be fine
export LD_LIBRARY_PATH=/opt/OpenBLAS/lib/
Thanks josephmisiti, it is really helpful :)
+1
+1
+1
+1
+1
+10086
+10086
Although, if you build from source, I think you could change the LD_LIBRARY_PATH and you would be fine
export LD_LIBRARY_PATH=/opt/OpenBLAS/lib/
this works without sudo apt-get install libopenblas-base
really nice!!!
+1
Also helped with the same issue on Ubuntu 16.04
+1
For Oracle Linux, CentOS, Red Hat:
yum install openblas.x86_64 openblas-devel.x86_64
Thanks josephmisiti. Solve the problem when I study https://github.com/xianyi/OpenBLAS/wiki/User-Manual
Thanks josephmisiti! I met the same problem, and solved it with "export LD_LIBRARY_PATH=/opt/OpenBLAS/lib/"
Thanks josephmisiti!
Very helpful. Thanks josephmisiti
Download and install from https://pkgs.org/download/libopenblas.so.0()(64bit).
you need download and install libopenblas, and the wed is : https://pkgs.org/download/libopenblas.so.0()(64bit)
just add sudo before the commande !! ans it will work !!
many thanks
Thanks josephmisiti
If followed your directions for installation on Ubuntu 12.04 LTS (via AWS) and am getting the following error when trying to run the example: