osx - What are the default search directories to link a library on Mac OS X -
I created Mac OS X with Limca and get two shared libraries: libgtest.dylib And libgtest_main.dylib and now I need to install both. I know that there are some default search directories on Linux, such as / usr / lib , / usr / local / lib , etc. But I'm unfamiliar with Mac OS X In this, I think there are three directories of libraries: ~ / library , / Library and / Usr / lib . And I have tried to place the guest libraries in these directories respectively, and have only detected / usr / lib works. What are some rules about what I need to know, default search directory on Linux and Windows such as Mac OS X < Div class = "post-text" itemprop = "text"> Take a look at the default values of the environment variables used by the liner: DYLD_FALLBACK_LIBRARY_PATH
...
By default, it is set to $ (HOME) / lib: / usr / local / lib: / lib: / usr "Deploying an application on Mac OS X" About Articles and "Mac OS X Installs Articles about "Lar" can also help. / html>
Comments
Post a Comment