radj307 / ARRCON

Lightweight Source RCON client that works on Windows, macOS, & Linux.
GNU General Public License v3.0
190 stars 10 forks source link

[BUG] Missing Libraries #22

Closed Yin-woo closed 9 months ago

Yin-woo commented 10 months ago

# Question

i tried to execute ARRCON on my M2 mac mini but i get this message:

Moi@Mac-mini-de-Moi % ./ARRCON
dyld[1272]: Library not loaded: /usr/local/opt/gcc@12/lib/gcc/12/libgcc_s.1.1.dylib Referenced from: <4A16C3B3-9F9B-316B-8C2F-28ED9C64E5E7> /Users/yinwoo/SRV/ARRCON Reason: tried: '/usr/local/opt/gcc@12/lib/gcc/12/libgcc_s.1.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@12/lib/gcc/12/libgcc_s.1.1.dylib' (no such file), '/usr/local/opt/gcc@12/lib/gcc/12/libgcc_s.1.1.dylib' (no such file), '/usr/local/lib/libgcc_s.1.1.dylib' (no such file), '/usr/lib/libgcc_s.1.1.dylib' (no such file, not in dyld cache) zsh: abort ./ARRCON

it's my first time having a mac and i'm a bit lost, may i ask for your help? thank you

radj307 commented 10 months ago

Its looking for gcc libraries; see #12 Alternatively, you can try compiling it yourself with the instructions in the latest reply (to #12) by @justinnichols.

I don't actually own a mac, sorry I can't be of more help. This issue should be at least partially resolved in v4, as many dependencies will be replaced with Boost & I will be able to update the CI scripts that build the macos version to allow for more flexibility.

radj307 commented 9 months ago

Resolved in v4.0.0-pr2 by migrating to clang instead of gcc.