赞
踩
有概率会报错
/opt/netease/netease-cloud-music/netease-cloud-music: /opt/netease/netease-cloud-music/libs/libselinux.so.1: no version information available (required by /opt/netease/netease-cloud-music/libs/libgio-2.0.so.0) /opt/netease/netease-cloud-music/netease-cloud-music: symbol lookup error: /opt/netease/netease-cloud-music/libs/libgio-2.0.so.0: undefined symbol: g_module_open_full
但也有可能不会(就比如我
解决办法:编辑/opt/netease/netease-cloud-music/netease-cloud-music.bash
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export LD_LIBRARY_PATH=/opt/netease/netease-cloud-music/libs
export QT_PLUGIN_PATH="${HERE}"/plugins
export QT_QPA_PLATFORM_PLUGIN_PATH="${HERE}"/plugins/platforms
cd /lib/x86_64-linux-gnu/
exec "${HERE}"/netease-cloud-music $@
实际上只是加上了cd /lib/x86_64-linux-gnu/
进入x86_64-linux-gnu
目录的命令
参考
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。