关于在2022-05-19 08:02 adefilm老哥的问题我在在Rocky LInux 9.3中也遇到.但是已经完美解决,不知道RockyLinux的解决方案是否和RedHat同样适用。

#百度网盘 怎么在红帽系上安装部署#当我安装完baidunetdisk_4.17.7_x86_64.rpm与baidunetdisk-patch-1.0.1-1.x86_64.rpm俩个包后提示
[gdb
@localhost baidunetdisk]$ /opt/baidunetdisk/baidunetdisk --no-sandbox %U
/opt/baidunetdisk/baidunetdisk: error while loading shared libraries: libcloudproviders.so.0: cannot open shared object file: No such file or directory
使用sudo dnf install libcloudproviders安装libcloudproviders依赖库,随后遇到老哥的问题
/opt/baidunetdisk/baidunetdisk --no-sandbox %U
/opt/baidunetdisk/baidunetdisk: symbol lookup error: /opt/baidunetdisk/libgtk-3.so.0: undefined symbol: gdk_broadway_window_get_type
查找系统同名库,然后替换过去即可解决
[gdb@localhost baidunetdisk]$ sudo find / -name libgtk-3.so.0
[sudo] gdb 的密码:
find: ‘/run/user/1000/doc’: 权限不够
find: ‘/run/user/1000/gvfs’: 权限不够
/usr/lib/vmware/lib/libgtk-3.so.0
/usr/lib/vmware/lib/libgtk-3.so.0/libgtk-3.so.0
/usr/lib/vmware-installer/3.1.0/cdsHelper/lib/libgtk-3.so.0
/usr/lib/vmware-installer/3.1.0/cdsHelper/lib/libgtk-3.so.0/libgtk-3.so.0
/usr/lib64/libgtk-3.so.0
/opt/baidunetdisk/libgtk-3.so.0
[gdb@localhost baidunetdisk]$ sudo mv /opt/baidunetdisk/libgtk-3.so.0 /opt/baidunetdisk/libgtk-3.so.0.bak
[gdb@localhost baidunetdisk]$ sudo cp /usr/lib64/libgtk-3.so.0 /opt/baidunetdisk/libgtk-3.so.0