Error while loading shared libraries: libbz2.so.1.0: cannot open shared object file on CentOS 7
28 Nov 2016 in TIL
Whilst trying to build using electron-builder
on CentOS 7, I ran into the following error message:
error while loading shared libraries: libbz2.so.1.0: cannot open shared object file
To fix it, you'll need to install bzip2-devel
, and potentially create a symlink too as libbz2.so.1
exists, but libbz2.so.1.0
doesn't
bash
sudo yum install bzip2-develsudo ln -s `find /usr/lib64/ -type f -name "libbz2.so.1*"` /usr/lib64/libbz2.so.1.0