当前位置:   article > 正文

[Ubuntu22]网易云音乐安装问题_/opt/netease/netease-cloud-music/netease-cloud-mus

/opt/netease/netease-cloud-music/netease-cloud-music: /opt/netease/netease-c

ubuntu22.04安装网易云音乐

有概率会报错
/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 $@
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

实际上只是加上了cd /lib/x86_64-linux-gnu/
进入x86_64-linux-gnu目录的命令
参考

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/185128
推荐阅读
相关标签
  

闽ICP备14008679号