@dude Thanks! I reinstall thinkfan, can fix this error.
/usr/bin/thinkfan: error while loading shared libraries: libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory
Git Clone URL: | https://aur.archlinux.org/thinkfan.git (read-only, click to copy) |
---|---|
Package Base: | thinkfan |
Description: | A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi |
Upstream URL: | https://github.com/vmatare/thinkfan |
Licenses: | GPL |
Submitter: | FALKER |
Maintainer: | harmathy |
Last Packager: | dude |
Votes: | 189 |
Popularity: | 0.072258 |
First Submitted: | 2009-03-02 09:01 (UTC) |
Last Updated: | 2022-02-05 19:50 (UTC) |
@dude Thanks! I reinstall thinkfan, can fix this error.
/usr/bin/thinkfan: error while loading shared libraries: libyaml-cpp.so.0.7: cannot open shared object file: No such file or directory
@seqfault Don't symlink, just rebuild thinkfan whenever yaml-cpp gets updated.
now that yaml-cpp updated to 0.8.0 and thinkfan has 0.7.0 dependency hardcoded which likely won't be solved soon (see https://github.com/vmatare/thinkfan/issues/233), you can make a symlink and it'll work fine: sudo ln -s libyaml-cpp.so.0.8 /usr/lib/libyaml-cpp.so.0.7
@buzo Thanks, I missed that announcement.
Actually, base-devel is a meta package now, not a group any more – see this announcement. (See also the PKGBUILD Wiki page.)
@bachtiar Packages from the base-devel group are assumed to already be installed, so they aren't included in the build dependencies.
@ruaeci Thanks, that worked! Does that mean that pkgconfig
should be added to build dependencies?
@bachitar:
Try pacman -S base-devel yaml-cpp
. This should install everything you need. In my case there was an error above the line you posted stating that pkgconfig
could not be found (which is provided by base-devel
).
I also had to add thinkpad_acpi.fan_control=1
to my kernel boot parameters.
Anybody else getting this error during makepkg even if yaml-cpp is installed?
CMake Error at CMakeLists.txt:60 (message):
USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp[-devel]!
Pinned Comments