Debian安装了的软件发生libraries相关报错

in Linux with 0 commentand 3697 read

在安装libobclient的时候Debian11报错:

alien --scripts -i libobclient-2.2.2-3.el7.x86_64.rpm 
rpm: error while loading shared libraries: liblua5.2.so.0: cannot open shared object file: No such file or directory
Error executing "LANG=C rpm -qp --queryformat %{NAME} 'libobclient-2.2.2-3.el7.x86_64.rpm'":  at /usr/share/perl5/Alien/Package.pm line 489.

糟了很多办法都不行,重新安装liblua也不行,最终使用:

sudo apt purge liblua5.2-0

重新安装即可使用!

评论