Closed javadr closed 2 years ago
sudo ln -s /usr/lib/libyaml-cpp.so.0.7.0 /usr/lib/libyaml-cpp.so.0.6
It works for me now, but I don't know whether I am on the right path or not.
This is very wrong, and it is against the reasons versions were invented. Applications using that library through the 0.6 symbolic link (including thinkfan
in this instance) might fail in very mysterious ways.
The correct solution is to recompile thinkfan
from sources. Either on your computer, or on a server farm that would provide the recompiled executable.
If thinkfan
depends specifically on version 0.6, then thinkfan
source code needs to be updated, or thinkfan
needs to be statically linked against the version 0.6 of the library.
As far as I could figure out, thinkfan
should be compatible with version 0.7 of libyaml-cpp
. This means that you should solve your issue by recompiling the thinkfan
binary from source. If you installed thinkfan
from ArchLinux AUR, then uninstalling and reinstalling thinkfan
should solve the issue for you.
As far as I could figure out,
thinkfan
should be compatible with version 0.7 oflibyaml-cpp
. This means that you should solve your issue by recompiling thethinkfan
binary from source. If you installedthinkfan
from ArchLinux AUR, then uninstalling and reinstallingthinkfan
should solve the issue for you.
I did uninstall the thinkfan
and reinstalled it from AUR, but it didn't work for me and I got the same error!
this is a duplicate of #162. Ping @bssb, maybe there is really something wrong with that AUR helper that's supposed to detect & fix these situations?
So @javadr on the referenced bug I wrote that this is most likely a bug in your distribution package, but its maintainer @bssb assures me that all dependencies are represented correctly there. So that would mean it's a bug in your distribution's dependency manager.
reinstall with cleanBuild did solve the problem for me.
Thanks @wiwie. Actually, reinstalling with cleanBuild solved the issue.
I updated my Linux distro (Manjaro) to the latest version, today. After that,
thinkfan
didn't work.And trying
thinkfan -n
in a shell produced the following error:As far as I see, it depends on
yaml-cpp-0.6.0
, however, the latest version on my machine isyaml-cpp-0.7.0
, now. So, to resolve this issue I made a symbolic link to the new one with the old name.It works for me now, but I don't know whether I am on the right path or not.