fedora-netease
fedora-netease copied to clipboard
Getting an error when installing the package on fedora39
Error Info
Getting an error when executing the ./install.sh to install the package on fedora39
hkx303@kuhuang:~/Downloads/package/fedora-netease_1.2.1$ /opt/netease/netease-cloud-music/netease-cloud-music.bash
/opt/netease/netease-cloud-music/netease-cloud-music: symbol lookup error: /lib64/libgio-2.0.so.0: undefined symbol: g_module_open_full
Workaround
Added cd /usr/lib64/ to netease-cloud-music.bash
hkx303@kuhuang:~/Downloads/package$ cat /opt/netease/netease-cloud-music/netease-cloud-music.bash
#!/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 /usr/lib64/
exec "${HERE}"/netease-cloud-music $@
Reference https://blog.csdn.net/u010457081/article/details/124544601