Trouble Shooting
Common Issues
Jemalloc issues on Apple Silicon macs
Forest is compiled with jemalloc
as a default allocator. If you are having
problems running or compiling Forest, use this checklist:
- Make sure you are using an arm64 version of homebrew; this could be a problem one inherits when migrating from an Intel Mac to Apple Silicon: Stackoverflow example.
- Make sure your default host is set to
aarch64-apple-darwin
viarustup set default-host aarch64-apple-darwin
. - This could result in various errors related to the fact that you still have
some of the libraries symlinked to
/usr/local/lib
from an intel Homebrew installation. The easiest fix for this is:- Remove the libraries in question from
/usr/local/lib
. - Add
export LIBRARY_PATH=/opt/homebrew/lib
to your bash profile. - Source the new bash profile.
- Remove the libraries in question from