PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
sudo apt update && sudo apt upgrade -y
Code: Select all
wget -O - https://labs.picotech.com/debian/dists/picoscope/Release.gpg.key | sudo apt-key add -
To import the public key I instead runWarning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Code: Select all
sudo wget -O /etc/apt/trusted.gpg.d/picoscope.gpg.key https://labs.picotech.com/debian/dists/picoscope/Release.gpg.key
Code: Select all
sudo dpkg -i picolog-6.2.9-armhf.deb
this is very strange as libnotify4 and libnss3 are already installed on the Pi, but nevertheless we persist and attempt to remedy with sudo apt-get -f installSelecting previously unselected package picolog:armhf.
(Reading database ... 125261 files and directories currently installed.)
Preparing to unpack picolog-6.2.9-armhf.deb ...
Unpacking picolog:armhf (6.2.9) ...
dpkg: dependency problems prevent configuration of picolog:armhf:
picolog:armhf depends on libnotify4.
picolog:armhf depends on libnss3.
dpkg: error processing package picolog:armhf (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Errors were encountered while processing:
picolog:armhf
I've now tried this on many different physical pi's, different sd cards, older release deb files etc etc and nothing is working./usr/bin/picolog: line 4: /usr/bin/picolog.bin: No such file or directory
Code: Select all
/usr/bin/picolog: line 4: /usr/bin/picolog.bin: No such file or directory
Code: Select all
#!/bin/bash
LD_LIBRARY_PATH="$(dirname "$0")/resources"${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
/opt/PicoLog/picolog.bin --no-sandbox "$@"
Code: Select all
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/
filipjeretina wrote: ↑Tue Mar 26, 2024 4:21 pm I have found a solution to this problem.
Steps to solve:
- Run: `find / -iname "picolog.bin` # For me the picolog.bin file was found in /opt/PicoLog/picolog.bin
- Run: `sudo nano /usr/bin/picolog.bin` edit the file such that you fill in the correct location of the picolog.bin file.
For me the /usr/bin/picolog.bin file ended up looking like this:Code: Select all
#!/bin/bash LD_LIBRARY_PATH="$(dirname "$0")/resources"${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} export LD_LIBRARY_PATH /opt/PicoLog/picolog.bin --no-sandbox "$@"