November 28, 2017

How to fix "cannot open shared object file"

cannot open shared object file

❑ Cause :  You want to execute 32bit program on 64bit OS(Ubuntu).
* If the 32bit library is installed, it will be fixed.

❑ Case 1 : error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
  → # sudo apt-get install libssl1.0.0:i386

❑ Case 2 : error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
  → # sudo apt-get install libcurl3:i386