fedora27无法启动shutter截图工具-启动报错

错误信息

[kigo@localhost ~]$ shutter -s

Can't load '/usr/lib64/perl5/vendor_perl/auto/Gnome2/VFS/VFS.so' for module Gnome2::VFS: libssl.so.10: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 193.

at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 11.

Compilation failed in require at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 11.

BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 11.

Compilation failed in require at /usr/bin/shutter line 34.

BEGIN failed--compilation aborted at /usr/bin/shutter line 34.

原因与解决

shutter需要依赖openssl-1.0的版本, feora27系统为openssl-1.1版本, 需要安装:compat-openssl10

[kigo@localhost ~]$sudo dnf install compat-openssl10

安装前查看libssl.so动态库:

[kigo@localhost ~]$ ll /usr/lib64/libssl*

-rwxr-xr-x. 1 root root 319424 11月 14 2017 /usr/lib64/libssl3.so

lrwxrwxrwx. 1 root root    16 4月  3 19:18 /usr/lib64/libssl.so -> libssl.so.1.1.0h

lrwxrwxrwx. 1 root root    16 4月  3 19:18 /usr/lib64/libssl.so.1.1 -> libssl.so.1.1.0h

-rwxr-xr-x. 1 root root 451880 4月  3 19:18 /usr/lib64/libssl.so.1.1.0h

安装后:

-rwxr-xr-x. 1 root root 319424 11月 14 2017 /usr/lib64/libssl3.so

lrwxrwxrwx. 1 root root    16 4月  3 19:18 /usr/lib64/libssl.so -> libssl.so.1.1.0h

lrwxrwxrwx. 1 root root    16 4月  6 00:48/usr/lib64/libssl.so.10 -> libssl.so.1.0.2o

-rwxr-xr-x. 1 root root 449536 4月  6 00:48/usr/lib64/libssl.so.1.0.2o

lrwxrwxrwx. 1 root root    16 4月  3 19:18 /usr/lib64/libssl.so.1.1 -> libssl.so.1.1.0h

-rwxr-xr-x. 1 root root 451880 4月  3 19:18 /usr/lib64/libssl.so.1.1.0h

你可能感兴趣的:(fedora27无法启动shutter截图工具-启动报错)