Return-To-The-Roots / s25client

Return To The Roots (Settlers II(R) Clone)
http://www.rttr.info
GNU General Public License v2.0
476 stars 75 forks source link

macOS: libminiupnpc not found #1573

Closed MLipfert1 closed 1 year ago

MLipfert1 commented 1 year ago

After macOS 13.3 solved the terminal problem I was able to start RTTR again under macOS Ventura for a few days. Unfortunately, after the latest updates for RTTR that were automatically downloaded by starting the app bundle, the client is broken and crashes on startup:

/tmp/rttr.command Using directory "../../../" Requesting current version information from server... Parsing update list... Updating folder structure... Creating symlink "./s25client.app/Contents/Frameworks/SDL2_mixer.framework/Versions/Current" Creating symlink "./s25client.app/Contents/Frameworks/SDL2_mixer.framework/SDL2_mixer" Creating symlink "./s25client.app/Contents/Frameworks/SDL2_mixer.framework/Resources" Creating symlink "./s25client.app/Contents/Frameworks/SDL2.framework/SDL2" Creating symlink "./s25client.app/Contents/Frameworks/SDL2.framework/Versions/Current" Creating symlink "./s25client.app/Contents/Frameworks/SDL2.framework/Resources" Creating symlink "./s25client.app/Contents/MacOS/libminiupnpc.dylib" Creating symlink "./s25client.app/Contents/MacOS/libminiupnpc.17.dylib" dyld[3982]: Library not loaded: @rpath/libminiupnpc.17.dylib Referenced from: <4644CE82-4410-35DE-B804-9C7766E8A340> /Applications/s25client.app/Contents/MacOS/s25client Reason: tried: '/usr/local/lib/libminiupnpc.17.dylib' (no such file), '/usr/lib/libminiupnpc.17.dylib' (no such file, not in dyld cache)

mtoensing commented 1 year ago

I can confirm that.

First run:

Screenshot 2023-04-09 at 14 48 31

next run

Screenshot 2023-04-09 at 14 48 41
Flow86 commented 1 year ago

The RPATH was wrong due to a bug in our cross toolchain detection. Now it should work again.

mtoensing commented 1 year ago

Okay, where is the new release available?

MLipfert1 commented 1 year ago

Just run the app bundle again and it will update to a working state automatically. 🙂