Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.51k stars 10.53k forks source link

I got this error when i run scrcpy #4304

Open syntaxxxxx opened 1 year ago

syntaxxxxx commented 1 year ago

dyld[35055]: Library not loaded: /opt/homebrew/opt/mbedtls/lib/libmbedcrypto.13.dylib Referenced from: /opt/homebrew/Cellar/librist/0.2.7_2/lib/librist.4.dylib Reason: tried: '/opt/homebrew/opt/mbedtls/lib/libmbedcrypto.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/mbedtls/lib/libmbedcrypto.13.dylib' (no such file), '/opt/homebrew/opt/mbedtls/lib/libmbedcrypto.13.dylib' (no such file), '/usr/local/lib/libmbedcrypto.13.dylib' (no such file), '/usr/lib/libmbedcrypto.13.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/mbedtls/3.4.1/lib/libmbedcrypto.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/mbedtls/3.4.1/lib/libmbedcrypto.13.dylib' (no such file), '/opt/homebrew/Cellar/mbedtls/3.4.1/lib/libmbedcrypto.13.dylib' (no such file), '/usr/local/lib/libmbedcrypto.13.dylib' (no such file), '/usr/lib/libmbedcrypto.13.dylib'

syntaxxxxx commented 1 year ago

can someone help me, please

rom1v commented 1 year ago

This is a homebrew installation issue.

Try reinstalling scrcpy from homebrew.

ikso95 commented 1 year ago

i reinstalled scrcpy and still same problem

rom1v commented 1 year ago

Then report/ask to homebrew repository.

ff-irie commented 1 year ago

I encountered the same issue and resolved it by following the steps below. https://stackoverflow.com/a/77115222

fr373969 commented 11 months ago

Thanks @ff-irie, I had the exact issue after brew upgrading ffmpeg, and the post resolved my issue.

EmilianoTalamo commented 2 weeks ago

brew install librist fixed it for me.