Open
Description
This is from https://github.com/livepeer/go-livepeer/releases/download/v0.8.4/livepeer-darwin-arm64.tar.gz
:
▶ livepeer --help
dyld[43275]: Library not loaded: /opt/homebrew/opt/libx11/lib/libX11.6.dylib
Referenced from: <445895D6-BF8E-7356-DA7E-F4FCC8244C5E> /Users/iameli/bin/livepeer
Reason: tried: '/opt/homebrew/opt/libx11/lib/libX11.6.dylib' (code signature in <DBA9854F-E2BB-3722-83C7-E4FE82CB7CF6> '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libx11/lib/libX11.6.dylib' (no such file), '/opt/homebrew/opt/libx11/lib/libX11.6.dylib' (code signature in <DBA9854F-E2BB-3722-83C7-E4FE82CB7CF6> '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' (code signature in <DBA9854F-E2BB-3722-83C7-E4FE82CB7CF6> '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' (no such file), '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' (code signature in <DBA9854F-E2BB-3722-83C7-E4FE82CB7CF6> '/opt/homebrew/Cellar/libx11/1.8.12/lib/libX11.6.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
fish: Job 1, 'livepeer --help' terminated by signal SIGABRT (Abort)
I think that you don't want to by dynamically linking anything in /opt/homebrew
or the binary won't work without that (or you'll run into other problems like I did):
▶ otool -L livepeer
livepeer:
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 2503.1.0)
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 61123.121.1)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 2503.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.120.2)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8)
/System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1226.0.0)
/opt/homebrew/opt/libx11/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0)