Closed angeloschl closed 3 years ago
As the error says, you need a newer version of OpenSSL installed on the system.
Thanks for you Help.
I tried sudo apt-get install libssl-dev
multiple times but it still wont work. Is there an other way to get the newer version?
I also didsudo apt update sudo apt upgrade
I'm assuming that typing openssl version
returns 1.1.0l
, but I have no idea what OS you're running. Is it RaspberryPi OS? If so, is it Wheezy, Jessie, Stretch, or Buster? If not, you need to check with your distribution.
Yes it returns 1.1.0l
.
I am running Raspbian GNU/Linux 9 (stretch).
Ug, OK, I don't see anything that actually depends on 1.1.0 features. This should have been set to the earliest working version with OPENSSL_API_COMPAT set. I'll reopen & fix.
Can you please try with the latest commits?
cmake
worked!
Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libssl.so;/usr/lib/arm-linux-gnueabihf/libcrypto.so (found suitable version "1.1.0l", minimum required is "1.1.0")
But when i run the make
i get this error now:
lib/CMakeFiles/airplay.dir/build.make:86: die Regel für Ziel „lib/CMakeFiles/airplay.dir/crypto.c.o“ scheiterte make[2]: [lib/CMakeFiles/airplay.dir/crypto.c.o] Fehler 1 CMakeFiles/Makefile2:239: die Regel für Ziel „lib/CMakeFiles/airplay.dir/all“ scheiterte make[1]: [lib/CMakeFiles/airplay.dir/all] Fehler 2 Makefile:127: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2
Mein Deutsch spricht sehr schlecht. RPiPlay might actually depend on something in 1.1.1, in which case you'd need to upgrade to Buster. The make output above doesn't describe what the error was.. is there another log file? Can you provide the compiler output? I can't debug this any more today, my I might be able to take a look next week. @jasLogic do you recall off-hand whether any of the x25519 stuff depends on version 1.1.1 of OpenSSL?
Ok, I lied, I did end up looking into this tonight. All of the x25519 stuff became first-class EVP in OpenSSL 1.1.1, with EVP_PKEY_X25519. Because the OpenSSL project considers 1.1.1 the stable branch and everything else deprecated, I don't think it's worth the energy to do compat for 1.0.2, although I'd consider patches that do so. In the mean time, I'm going to fix what I pushed earlier to fix this. I still want to keep their API compat flag for future people using newer OpenSSL.
tld;r: RPiPlay will not work prior to Buster any more. You need to upgrade your OS, as per https://www.raspberrypi.org/blog/buster-the-new-version-of-raspbian/
Hello,
after
cmake ..
i get the following error.Any idea what to do?
Thanks!