I have a problem with sigrok-cli build from .tar.gz.
Yesterday I installed sigrok metapackage, which went fine. Today I found out that the ubuntu 17.04 package is incompatible with the DMM I wish to use. So on advice I removed, purged and auto removed sigrok and pulseview and started "anew"
I downloaded sigrok-cli-0.7.0.tar.gz and unpacked this in my home folder.
initially I tried to follow the instructions in the readme file on how to build, but ended up not "gitting" and just planned to build by ./configure & make & sudo make install.
But I bumped into some dependency issues, I needed:
- libsigrok
- libsigrokdecode
Of course upon building these I bumped into some other dependencies. python 3 developer and libzip-dev. anyway I managed to install these and build the first two so I got to build sigrok-cli too by:
- Downloading the .tar.gz file
- Unzipping them in there seperate dir my home dir
- From these seperate dir's I ./configured, make & sudo make install them. But I now believe these ended up wrong location.
Dependency wise it worked, there were no longer issues, but when I now try to run the sigrok-cli I get the following error message:
sigrok-cli: error while loading shared libraries:
libsigrok.so.4: cannot open shared object file: No such file or directory.
Now I know this file to be in the ~/libsigrok-0.5.0/.libs/
so the program is looking in the wrong place (or better said the file is in the wrong place). now from what I learned yesterday I believe the correct location to be either in:
- ~/usr/bin
- ~/usr/local/bin.
but when I look into these ~/bin folders I find no other folders.
So maybe libsigrok-0.5.0 and libsigrokdecode-0.5.0 should be in the folder sigrok-cli-0.7.0. but even if these folders need to be in another location. I'm not sure what the correct manner would be to get them there, just cut / past or should I uninstall and re install on the right directory?