Sample Header Ad - 728x90

How to see library search paths MacOS?

2 votes
1 answer
5068 views
There are two Macs and one of them finds a certain dylib when I dlopen it and another one doesn't. Seems like the library search paths are different, but DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH are empty on both machines. How can I see what paths dlopen searches?
Asked by Maxim (213 rep)
Nov 27, 2019, 03:58 PM
Last activity: Nov 27, 2019, 04:15 PM