[Mesa-users] note on fixing Mesa install after recent macOS updates

Philip Mocz pmocz at flatironinstitute.org
Thu Nov 7 20:53:43 UTC 2024


Some people are having trouble installing Mesa on macOS M2 / M3 chips after
recent OS updates that may have messed up some environment variables, and
seeing the error:

ld: library 'z' not found

To fix this, add to your .zshrc file the following.

export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)

Hopefully with future mac updates this fix will no be needed any more


-- 

PHILIP MOCZ  He/Him

Software Engineer
Center for Computational Astrophysics

Flatiron Institute

808.392.5805 mobile

pmocz at flatironinstitute.org

162 Fifth Avenue, New York, NY 10010

simonsfoundation.org/flatiron <https://www.simonsfoundation.org/flatiron/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20241107/4bd0d3e4/attachment.htm>


More information about the Mesa-users mailing list