erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

rpigpio Rpi 3B+ 64 bit pigpiod not starting "[solved]"

Fri Aug 09, 2019 1:43 pm

Hi,

I'm running Gentoo 64 bit on Rpi 3B+,

trying to get pigpio working. I installed pigpio successfully through system package manager with python support (3.6 and 2.7 as fallback) with this patch for 64 bit kernel https://github.com/joan2937/pigpio/issues/266

following joan2937 (https://github.com/joan2937/pigpio/issues/49) tips:

Code: Select all

 cat /etc/network/interfaces 
auto wlan0
auto eth0
auto lo
iface lo inet loopback
but deamon fails to start:

Code: Select all

/etc/init.d/pigpiod start
 * Starting pigpiod ...
/usr/bin/pigpiod: error while loading shared libraries: libpigpio.so: cannot open shared object file: No such file or directory
 * start-stop-daemon: failed to start `/usr/bin/pigpiod'
 * Failed to start pigpiod                                                                                                     [ !! ]
 * ERROR: pigpiod failed to start
in python interpreter:

Code: Select all

python
Python 3.6.9 (default, Aug  6 2019, 18:42:28) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pigpio
>>> pi = pigpio.pi()
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)

Did you start the pigpio daemon? E.g. sudo pigpiod

Did you specify the correct Pi host/port in the environment
variables PIGPIO_ADDR/PIGPIO_PORT?
E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888

Did you specify the correct Pi host/port in the
pigpio.pi() function? E.g. pigpio.pi('soft', 8888)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> 
Last edited by erg on Tue Jan 21, 2020 6:41 pm, edited 1 time in total.

User avatar
joan
Posts: 14878
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Fri Aug 09, 2019 3:22 pm

A 64-bit patch is incorporated in versions 69 and greater (thanks to plugwash). I don't have a 64-bit system but at least one person says it runs okay on the Pi4B with 64-bit.

https://github.com/joan2937/pigpio/issu ... -519066779

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Tue Aug 13, 2019 7:37 am

Thanks for a prompt reply. Waiting on Gentoo update of pigpio package then to test it.

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Tue Aug 13, 2019 11:28 am

Hi,

I have now pigpio installed, daemon starts without complaining, python module also.

But:

Code: Select all

python 
Python 3.6.9 (default, Aug  6 2019, 18:42:28) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pigpio
>>> pi = pigpio.pi()
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)

Do you have permission to access the pigpio daemon?
Perhaps it was started with sudo pigpiod -nlocalhost
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
remains.

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Wed Aug 14, 2019 2:25 pm

Sorted with the new, post v70 patch

Return to “Troubleshooting”