# Hi everyone! I'm struggling to get Nim to point to the correct directory for my # dylibs on my mac (not m1/2) dlopen(libSDL2.dylib, 0x0002): tried: 'libSDL2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibSDL2.dylib' (no such file), '/usr/lib/libSDL2.dylib' (no such file, not in dyld cache), 'libSDL2.dylib' (no such file) could not load: libSDL2.dylib # It's only looking in those two areas, but my directory is `/usr/local/lib` that # it exists in. I have the following environment variables set trying to tell Nim # to look there, but nothing seems to be working: export LIBRARY_PATH=/usr/local/Cellar:/usr/local/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/Cellar:/usr/local/lib:$LD_LIBRARY_PATH export DYLD_LIBRARY_PATH=/usr/local/Cellar:/usr/local/lib:$DYLD_LIBRARY_PATH # Does anyone have any ideas?