Open janwilmans opened 4 years ago
and while on the topic of WSL, i had to strip out this capability check to work around:
icemon: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
And there we have it, icemon running on windows:
icemon requires to link against
libcap-ng
andliblzo2
but the cmake files don't explicitly specify that.
Additional libraries are listed in icecc'd pkg-config file, and FindIcecream.cmake extracts it from there.
is there a step before cmake -G that I should have done then? Its not working for me (well, its working now, but it required the modification I described.)
Cmake uses pkg-config to find the file, so pkg-config needs to be able to find it. But unless you use old icemon, cmake should fail it pkg-config fails. So unless you provide more details about your cmake run, I don't know.
icemon requires to link against
libcap-ng
andliblzo2
but the cmake files don't explicitly specify that. On normal debian 10 (buster) I did not experience any problems, and everything compiles even without these explicit dependencies specified.However on, WSL (Windows Subsystem for Linux) debian buster reports:
I had to add the libraries explicitly to make it link: