• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight for Raspbian Buster (raspberry pi 4) ?
#21
Code:
root@busterpi:/home/pi# ldd /usr/local/sbin/pilight-debug
       linux-vdso.so.1 (0x7eee8000)
       /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76f5c000)
       libpilight.so => /usr/local/lib/libpilight.so (0x7671e000)
       libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x7670b000)
       libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76689000)
       libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x7665f000)
       librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76648000)
       libwiringx.so => /usr/lib/libwiringx.so (0x7661b000)
       libmbedtls.so.10 => not found
       libmbedcrypto.so.0 => not found
       libmbedx509.so.0 => /usr/lib/arm-linux-gnueabihf/libmbedx509.so.0 (0x765fa000)
       libluajit-5.1.so.2 => /usr/lib/arm-linux-gnueabihf/libluajit-5.1.so.2 (0x76584000)
       libpcap.so.0.8 => /usr/lib/arm-linux-gnueabihf/libpcap.so.0.8 (0x7653c000)
       libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x763ee000)
       /lib/ld-linux-armhf.so.3 (0x76f71000)
       libmbedtls.so.10 => not found
       libmbedcrypto.so.0 => not found
       libmbedcrypto.so.3 => /usr/lib/arm-linux-gnueabihf/libmbedcrypto.so.3 (0x7638e000)
       libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76361000)
 
Reply
#22
What happens when you install libmbedtls-dev?
 
Reply
#23
no change:
Code:
root@busterpi:/home/pi# apt-get install libmbedtls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmbedtls-dev is already the newest version (2.16.0-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@busterpi:/home/pi#
same output on the ldd command.
 
Reply
#24
Can you check if the generic libmbedtls.so is available?
 
Reply
#25
(07-14-2019, 09:57 PM)curlymo Wrote: Can you check if the generic libmbedtls.so is available?

does not look like it, but then I would not know how to categorically say it is not:
Code:
root@busterpi:/lib# apt-get install libmbedtls
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmbedtls
 
Reply
#26
Code:
find / -name libmbedtls.so
 
Reply
#27
(07-14-2019, 10:17 PM)curlymo Wrote:
Code:
find / -name libmbedtls.so

it is here:
Code:
root@busterpi:/lib# find / -name libmbedtls.so
/usr/lib/arm-linux-gnueabihf/libmbedtls.so
but it is a sym link to v.12:
Code:
root@busterpi:/usr/lib/arm-linux-gnueabihf# ls -al libmbed*
-rw-r--r-- 1 root root 453892 Jan  8  2019 libmbedcrypto.a
lrwxrwxrwx 1 root root     18 Jan  8  2019 libmbedcrypto.so -> libmbedcrypto.so.3
-rw-r--r-- 1 root root 317432 Jan  8  2019 libmbedcrypto.so.2.16.0
lrwxrwxrwx 1 root root     23 Jan  8  2019 libmbedcrypto.so.3 -> libmbedcrypto.so.2.16.0
-rw-r--r-- 1 root root 191220 Jan  8  2019 libmbedtls.a
lrwxrwxrwx 1 root root     16 Jan  8  2019 libmbedtls.so -> libmbedtls.so.12
lrwxrwxrwx 1 root root     20 Jan  8  2019 libmbedtls.so.12 -> libmbedtls.so.2.16.0
-rw-r--r-- 1 root root 165236 Jan  8  2019 libmbedtls.so.2.16.0
 
Reply
#28
And if you symlink a 10 to that 12 as well?
 
Reply
#29
(07-15-2019, 06:44 AM)curlymo Wrote: And if you symlink a 10 to that 12 as well?
I got pilight working, although I will run through all the steps again with a clean buster install as I have made so many changes.


this definitely helped:

Code:
cd /usr/lib/arm-linux-gnueabihf/
sudo ln -s libmbedcrypto.so.2.16.0 libmbedcrypto.so.0
sudo ln -s libmbedtls.so.2.16.0 libmbedtls.so.10
but does not feel like a very "standard" way of installing a package.
I also had to run through at least some of these again as well:
Code:
apt-get download pilight=8.1.4-77
apt-get install pilight-webgui libunwind8 libpcap0.8 libmbedcrypto3 libmbedtls12 libmbedx509-0 libwiringx libluajit-5.1-2
apt --fix-broken install
 
Reply
#30
I've updated the manual installation instructions with special note for Buster.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
Tongue pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 4 143 08-17-2019, 01:04 PM
Last Post: curlymo
  pilight-receive Filteroption not working Alex 2 357 07-14-2019, 08:35 AM
Last Post: Alex
  pilight usb nano format conversion ettman8 2 249 07-14-2019, 08:32 AM
Last Post: curlymo
  pilight7_oregon on Raspberry pi3 Tueftler1983 0 169 07-04-2019, 01:49 PM
Last Post: Tueftler1983
  pilight 8.1.4 crashes after some hours Ulrich.Arnold 47 2,039 06-29-2019, 08:58 PM
Last Post: curlymo
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 554 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 481 06-09-2019, 06:02 PM
Last Post: curlymo
  Google Assistant coupled to pilight hansrijn2 4 928 05-29-2019, 06:54 PM
Last Post: curlymo
  pilight-send does not stop (terminate) va13 3 474 05-15-2019, 06:06 PM
Last Post: curlymo
  oom_reaper: reaped process pilight-daemon va13 4 538 05-15-2019, 08:03 AM
Last Post: va13

Forum Jump:


Browsing: 1 Guest(s)