Created attachment 135 [details] CMakeOutput Installing PulseView 0.2.0 under Gentoo Linux fails for me. I first tried to install PulseView with the package manager but then cmake fails to find libsigrok>=0.3.0. libsigrok-0.3.0 and libsigrokdecode-0.3.0 are installed via the package manager: % ls -lh /usr/lib/libsigrok* lrwxrwxrwx 1 root root 24 25. Apr 18:30 /usr/lib/libsigrokdecode.so -> libsigrokdecode.so.2.0.0* lrwxrwxrwx 1 root root 24 25. Apr 18:30 /usr/lib/libsigrokdecode.so.2 -> libsigrokdecode.so.2.0.0* -rwxr-xr-x 1 root root 48K 25. Apr 18:30 /usr/lib/libsigrokdecode.so.2.0.0* lrwxrwxrwx 1 root root 18 25. Apr 18:26 /usr/lib/libsigrok.so -> libsigrok.so.2.0.0* lrwxrwxrwx 1 root root 18 25. Apr 18:26 /usr/lib/libsigrok.so.2 -> libsigrok.so.2.0.0* -rwxr-xr-x 1 root root 545K 25. Apr 18:26 /usr/lib/libsigrok.so.2.0.0* # pkg-config --modversion libsigrok 0.3.0 Then I downloaded pulseview-0.2.0.tar.gz and tried to compile manually and get the same error: http://pastebin.com/jcmTw4Ve CMakeOutput.log is in the attachment. I am a litte bit wondered about the library files ending with .2.0.0, I would have expected something with a 3 for Version 0.3.0. From the Gentoo side, it seems no one is able to help me, so I would like to try my luck here...
Hi, the numbers in the *.so* library files are unrelated to the package version (0.3.0), that's correct and not the problem. It does indeed look like cmake is not finding libsigrok even though it should, since pkg-config seems to find it correctly. Can you provide the exact versions of all the tools (cmake, gcc, g++, pkg-config, and so on)? Maybe we can try to reproduce this, though the build has worked fine for various people on various platforms. Please do make sure that you don't mix any libraries and programs. Don't keep package manager libs around at the same time as manually built ones in /usr/local or elsewhere. Don't mix tarball releases of sigrok libs+programs with git versions of those, etc. etc. Hope that helps, let us know if you can still reproduce this and/or have additional info. Thanks!
Marking this as closed, it's very likely to be an issue of library mixups or missing PKG_CONFIG_PATH or the like. Please report back with more info if this is still reproducible with latest git versions of everything.