Hi Tim,
I have solved the problem. It seemed like the .so files were present and where they should be but they were not being found. To test this theory, I copied /usr/lib/libpigpio.so and /usr/lib/libpigpiod_if2.so to the same folder as the Squeak VM. After that everything worked as expected. I have asked Dave Lewis off line if there is a better way than copying the files. I will post what I end up with when I'm sure what is best.
Thanks again.
Lou
On Mon, 23 Oct 2017 10:23:31 -0700, tim Rowledge tim@rowledge.org wrote:
On 23-10-2017, at 8:26 AM, Louis LaBrunda Lou@Keystone-Software.com wrote:
I tried:
sudo pigpiod
just to see what would happen. The response was:
2017-10-23 10:58:46 initInitialise: Can't lock /var/run/pigpio.pid Can't initialise pigpio library
Does that tell us anything?
That seems to me to confirm that pigpio was installed and that something else is stopping it which is pretty much where my expertise in linux runs out.
A bit of digging on the Pi forums (which you really ought to belong to and read with your morning coffee every day)) suggests that one has to have done `sudo systemctl enable pigpiod ` but I was under the impression that that is for starting the daemon as a service automatically. I see several places where people talk about installing pigpio on lite and they all seemed to just use the `sudo apt-get install pigpio` thing.
It would be worth signing up to the Pi forums (https://www.raspberrypi.org/forums/) and looking through stuff there, maybe even asking in the Raspbian forum if you cant spot anything.
The key site for pigpio is http://abyz.co.uk/rpi/pigpio/pigpiod.html and joan is generally very helpful if you email. It might be worth redoing the install from source, which is explained on her site.
tim