• 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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems compiling pilight on Odroid C2
#41
(08-06-2018, 10:02 PM)curlymo Wrote:
Code:
dpkg -L libmbedcrypto0
?

And
Code:
find /usr -name libmbedcrypto.so*
?

Code:
root@DietPi:~# dpkg -L libmbedcrypto0
/.
/usr
/usr/lib
/usr/lib/aarch64-linux-gnu
/usr/lib/aarch64-linux-gnu/libmbedcrypto.so.2.4.2
/usr/share
/usr/share/doc
/usr/share/doc/libmbedcrypto0
/usr/share/doc/libmbedcrypto0/changelog.Debian.gz
/usr/share/doc/libmbedcrypto0/changelog.gz
/usr/share/doc/libmbedcrypto0/copyright
/usr/lib/aarch64-linux-gnu/libmbedcrypto.so.0
Code:
root@DietPi:~# find /usr -name libmbedcrypto.so*
/usr/lib/aarch64-linux-gnu/libmbedcrypto.so.0
/usr/lib/aarch64-linux-gnu/libmbedcrypto.so.2.4.2
/usr/lib/aarch64-linux-gnu/libmbedcrypto.so
 
Reply
#42
Do the following:

Code:
ln -s /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.2.4.2 /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.3
And start pilight again. Do the same for the other mbed libraries if necessary.

Also post:
Code:
apt-cache policy libmbedcrypto
 
Reply
#43
(08-08-2018, 06:29 AM)curlymo Wrote: Do the following:

Code:
ln -s /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.2.4.2 /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.3
And start pilight again. Do the same for the other mbed libraries if necessary.

Also post:
Code:
apt-cache policy libmbedcrypto
Code:
root@DietPi:~# apt-cache policy libmbedcrypto
N: Unable to locate package libmbedcrypto
 
Reply
#44
(08-08-2018, 09:43 PM)WitchDoctor Wrote:
(08-08-2018, 06:29 AM)curlymo Wrote: Do the following:

Code:
ln -s /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.2.4.2 /usr/lib/aarch64-linux-gnu/libmbedcrypto.so.3
And start pilight again. Do the same for the other mbed libraries if necessary.

Also post:
Code:
apt-cache policy libmbedcrypto
Code:
root@DietPi:~# apt-cache policy libmbedcrypto
N: Unable to locate package libmbedcrypto
after 

Code:
root@DietPi:~# ln -s /usr/lib/aarch64-linux-gnu/libmbedtls.so.2.4.2 /usr/lib/aarch64-linux-gnu/libmbedtls.so.11
 I now get

Code:
root@DietPi:~# service pilight status
● pilight.service - pilight
  Loaded: loaded (/etc/systemd/system/pilight.service; enabled; vendor preset: enabled)
  Active: active (running) since Wed 2018-08-08 22:08:01 BST; 2s ago
 Process: 2029 ExecStart=/usr/local/sbin/pilight-daemon (code=exited, status=0/SUCCESS)
Main PID: 2030 (pilight-daemon)
  CGroup: /system.slice/pilight.service
          └─2030 /usr/local/sbin/pilight-daemon

Aug 08 22:08:01 DietPi systemd[1]: Starting pilight...
Aug 08 22:08:01 DietPi systemd[1]: Started pilight.


tomorrow see if Home assistant can make contact
 
Reply
#45
Regarding to post 34, can you please show some more creativity yourself  Wink I need to know the available versions of the mbed packages.
 
Reply
#46
(08-08-2018, 10:19 PM)curlymo Wrote: Regarding to post 34, can you please show some more creativity yourself  Wink I need to know the available versions of the mbed packages.

yeah I was getting there, I first had to read back what was required by the program and what you have me change
turns out after libmbedtls it was fine, 
added "port" to config.json and connected transmitter to correct GPIO pin it now works! I can switch a KAKU wall switch.

Thanks a lot Curlymo for the support, anything else you want me to post for your information?
 
Reply
#47
As i already said. I want to know what mbedtls versions are available on your platform. I you can still give me that information.

Also feel free to donate if you think pilight deserves it Smile
 
Reply
#48
(08-09-2018, 06:15 AM)curlymo Wrote: As i already said. I want to know what mbedtls versions are available on your platform. I you can still give me that information.

Also feel free to donate if you think pilight deserves it Smile

Code:
root@DietPi:~# find /usr -name libmbedtls.so*
/usr/lib/aarch64-linux-gnu/libmbedtls.so.10
/usr/lib/aarch64-linux-gnu/libmbedtls.so.3
/usr/lib/aarch64-linux-gnu/libmbedtls.so.11
/usr/lib/aarch64-linux-gnu/libmbedtls.so.2.4.2
/usr/lib/aarch64-linux-gnu/libmbedtls.so

Where I think I made the mistake by creating .so.3 myself, where .so.11 was needed. That would mean that originally .so.10 , s0.2.4.2 and .so are present on the system.

also:
Code:
root@DietPi:~# find /usr -name libmbedx509.so*
/usr/lib/aarch64-linux-gnu/libmbedx509.so
/usr/lib/aarch64-linux-gnu/libmbedx509.so.2.4.2
/usr/lib/aarch64-linux-gnu/libmbedx509.so.0

Are you going to fix it so that pilight can be installed via package manager on aarch64? that would be neat!
 
Reply
#49
That's the whole point.

In regard to the versions. I meant the versions of mbedtls in the apt repository.
 
Reply
#50
(08-09-2018, 06:19 PM)curlymo Wrote: That's the whole point.

In regard to the versions. I meant the versions of mbedtls in the apt repository.

Code:
root@DietPi:~# dpkg -L libmbedtls10
/.
/usr
/usr/lib
/usr/lib/aarch64-linux-gnu
/usr/lib/aarch64-linux-gnu/libmbedtls.so.2.4.2
/usr/share
/usr/share/doc
/usr/share/doc/libmbedtls10
/usr/share/doc/libmbedtls10/changelog.Debian.gz
/usr/share/doc/libmbedtls10/changelog.gz
/usr/share/doc/libmbedtls10/copyright
/usr/lib/aarch64-linux-gnu/libmbedtls.so.10

Code:
root@DietPi:~# apt-cache policy libmbedtls10
libmbedtls10:
 Installed: 2.4.2-1+deb9u2
 Candidate: 2.4.2-1+deb9u2
 Version table:
*** 2.4.2-1+deb9u2 500
       500 https://deb.debian.org/debian stretch/main arm64 Packages
       500 https://deb.debian.org/debian-security stretch/updates/main arm64 Packages
       100 /var/lib/dpkg/status

also 
Code:
root@DietPi:~# apt-cache policy libmbedcrypto0
libmbedcrypto0:
 Installed: 2.4.2-1+deb9u2
 Candidate: 2.4.2-1+deb9u2
 Version table:
*** 2.4.2-1+deb9u2 500
       500 https://deb.debian.org/debian stretch/main arm64 Packages
       500 https://deb.debian.org/debian-security stretch/updates/main arm64 Packages
       100 /var/lib/dpkg/status

Code:
root@DietPi:~# apt-cache policy libmbedx509-0
libmbedx509-0:
 Installed: 2.4.2-1+deb9u2
 Candidate: 2.4.2-1+deb9u2
 Version table:
*** 2.4.2-1+deb9u2 500
       500 https://deb.debian.org/debian stretch/main arm64 Packages
       500 https://deb.debian.org/debian-security stretch/updates/main arm64 Packages
       100 /var/lib/dpkg/status
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-control modify values coolinx 2 26 09-20-2019, 07:24 PM
Last Post: coolinx
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 94 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 95,342 07-10-2019, 06:14 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 2,789 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 509 10-18-2018, 07:01 AM
Last Post: felfert
  pilight-send and pilight-daemon DieterK 0 534 06-20-2018, 12:44 AM
Last Post: DieterK
  Lights not switched on or off by rules in pilight 8.1.0 rorie 22 2,396 06-12-2018, 03:56 PM
Last Post: curlymo
  Odroid C2 support on Kernel 4.14 Jojo 5 665 06-01-2018, 03:19 PM
Last Post: curlymo
  check API in pilight 8 stratege-0815 4 1,348 02-11-2018, 09:34 AM
Last Post: stratege-0815
  pilight-receive terminates zackdvd 8 1,583 12-30-2017, 09:07 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)