楼上的downgrade是一个非常有用并且简单的方法。
pacman -S downgrade
# 但降级之前,你或许会遇到文件冲突,可以移除或别名处理冲突
sudo mv /usr/lib/libtag.so.1 /usr/lib/libtag.so.1.bak
sudo mv /usr/lib/libtag_c.so.0 /usr/lib/libtag_c.so.0.bak
sudo downgrade taglib
# choose 1.13.1
Git Clone URL: | https://aur.archlinux.org/netease-cloud-music.git (read-only, click to copy) |
---|---|
Package Base: | netease-cloud-music |
Description: | Netease Cloud Music, converted from .deb package |
Upstream URL: | https://music.163.com/ |
Keywords: | music |
Licenses: | custom |
Submitter: | bigeagle |
Maintainer: | Ovear |
Last Packager: | Ovear |
Votes: | 102 |
Popularity: | 0.046668 |
First Submitted: | 2016-05-25 06:12 (UTC) |
Last Updated: | 2024-03-18 10:12 (UTC) |
楼上的downgrade是一个非常有用并且简单的方法。
pacman -S downgrade
# 但降级之前,你或许会遇到文件冲突,可以移除或别名处理冲突
sudo mv /usr/lib/libtag.so.1 /usr/lib/libtag.so.1.bak
sudo mv /usr/lib/libtag_c.so.0 /usr/lib/libtag_c.so.0.bak
sudo downgrade taglib
# choose 1.13.1
我在实践楼上方法的过程中遇到软件启动就会卡崩溃gnome的情况,以下是我的实践中可行的方案:
sudo pacman -S downgrade
sudo downgrade taglib
# 选择1.13.1
楼上漏了一个命令,全部命令应该是。亲测管用。
yay -S extra/taglib1
cd /usr/lib
sudo cp libtag.so.1 /opt/netease/netease-cloud-music/libs
cd /opt/netease/netease-cloud-music/libs
sudo ln -s libtag.so.1 libtag.so.2
sudo ln -s libtag.so.1 libtag.so
楼上方法亲测好用,列出命令
yay -S extra/taglib1
sudo cp libtag.so.1 /opt/netease/netease-cloud-music/libs
cd /opt/netease/netease-cloud-music/libs
sudo ln -s libtag.so.1 libtag.so.2
sudo ln -s libtag.so.1 libtag.so
关于网易云音乐因taglib
版本升级导致无法找到libtag.so.1
或者播放音乐段错误我个人探索出两个解决方案:
1、降低taglib
库版本至1.13.1
2、将taglib 1.13.1
版本(需要降版本,后面升上去即可)中/usr/lib/libtag.so.1
复制到路径/opt/netease/netease-cloud-music/libs
下并新建两个软链接libtag.so
和libtag.so.2
指向libtag.so.1
,最终效果如下
┌─[xxx@xxx] - [/opt/netease/netease-cloud-music/libs]
└─[$] ls -lh | grep tag
lrwxrwxrwx 1 root root 11 Feb 1 14:04 libtag.so -> libtag.so.1
-rwxr-xr-x 1 root root 1007K Feb 1 13:52 libtag.so.1
lrwxrwxrwx 1 root root 11 Feb 1 14:04 libtag.so.2 -> libtag.so.1
以上解决方案个人测试可行
最新的BUG,安装了taglib1后,虽然能打开网易播放器,但播放音乐时会报错提示 段错误(核心已转储),有什么办法解决?
I am using the netease-cloud-music package. But today it's unavailable, and I found that: "opt/netease/netease-cloud-music/netease-cloud-music: error while loading shared libraries: libtag.so.1: cannot open shared object file: No such file or directory." I realize that it's may caused by libtag.so.1. And I am using extra-testing and the taglib releases is 2.0.1 . So I install the package in extra the releases is 1.13.1-1. Finally the trouble is solved.
用微信或者qq可以登陆
Pinned Comments
petercxy commented on 2019-03-11 12:38 (UTC)
几点说明
--force-device-scale-factor=<your_scale_factor>
来临时解决问题以上。