赞
踩
sudo apt -y install libqt5webchannel5 libcanberra-gtk-module
sudo cp /lib/x86_64-linux-gnu/libselinux.so.1 /opt/netease/netease-cloud-music/libs/
sudo cp /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /opt/netease/netease-cloud-music/libs/
sudo cp /lib/x86_64-linux-gnu/libpango-1.0.so.0 /opt/netease/netease-cloud-music/libs/
sudo cp /lib/x86_64-linux-gnu/libfribidi.so.0 /opt/netease/netease-cloud-music/libs/
基本上能正常运行:
--------------------------------------------------------------------------------------------------------------------------
编辑文件:
sudo vim /opt/netease/netease-cloud-music/netease-cloud-music.bash
也就是添加这一行:
cd /lib/x86_64-linux-gnu/
最终形式如下所示:
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export LD_LIBRARY_PATH="${HERE}"/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 $@
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。