Python
Steven Smith
steve.t.smith at gmail.com
Sat Mar 19 15:08:24 UTC 2022
Looks like you get to play “World of install_name_tool” before playing World of Tanks.
Figure out where the binaries are.
Read `man otool` and `man install_name_tool`
Look at `otool -L <binary file>`
Back up your app before messing around with its binaries
Use install_name_tool to replace the dynamic links to the now deprecated macOS Python libraries to MacPorts binaries [search MacPorts Portfiles for plenty of example uses.]
…
WIN
Or: Try setting `export PYTHON=<path to MacPorts python27>` in such a way that the app launch knows about this variable.
> On Mar 18, 2022, at 4:23 PM, Tom <macpro at t-online.de> wrote:
>
> World of Tanks crashes with this error log. Can there be something done about it?
>
>> Termination Reason: Namespace DYLD, Code 1 Library missing
>> Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
>> Referenced from: /Volumes/VOLUME/*/Wargaming.net Game Center.app/Contents/MacOS/Wargaming.net Game Center
>> Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
>> (terminated at launch; ignore backtrace)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220319/d9f5b7fa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220319/d9f5b7fa/attachment.bin>
More information about the macports-users
mailing list