philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.43k stars 216 forks source link

doesn't work on m1 mac #526

Open sudhamjayanthi opened 2 months ago

sudhamjayanthi commented 2 months ago
image

it automatically crashes with this message: WARNING: ~/Downloads/AirConnect-1.8.3/aircast-macos-arm64 is loading libcrypto in an unsafe way

tried using the -static binary, that crashes as well.

here's the crash report from Console if it helps:

image
sudhamjayanthi commented 2 months ago

@philippe44

philippe44 commented 2 months ago

There is a few lines on that topic in the README

sudhamjayanthi commented 2 months ago
ln -s /usr/local/opt/openssl[/x.y.z]/lib/libcrypto.dylib /usr/local/lib/libcrypto.dylib 
ln -s /usr/local/opt/openssl[/x.y.z]/lib/libssl.dylib /usr/local/lib/libssl.dylib 

if you're talking about these lines to link the libraries, i did try them, to no avail. i've also tried two different releases — 1.8.3, 1.7.0 — and both didn't work!

philippe44 commented 2 months ago

What are the libssl.dylib and libcrypto.dylib that you have in your system?

sudhamjayanthi commented 2 months ago

You mean the version?

philippe44 commented 2 months ago

The exact file name of the library. They have versioned names

sudhamjayanthi commented 2 months ago
image

libcrypto.3.dylib and libssl.3.dylib