dlopen
Does @rpath work for looking up .dylibs that are loaded/called from another .dylib?
I just found about the @rpath to load .dylib files using dlopen, and need some help understanding them.I am using Xcode 3.2.5 on a OSX machine.[详细]
2023-03-21 07:41 分类:问答Problems with using setenv and then making the dlopen call
I am using setenv to set DYLD_LIBRARY_PATH so when I do a dlopen() it will have the correct paths to find my .dylib, but when I do the dlopen() it doesn\'t seem to search the paths that I added to DYL[详细]
2023-03-21 03:16 分类:问答How can I find libraries to load them dynamically with dlopen
In the project I am working on, we provide the possibility to dynamically load additional features. For that we use dlopen.[详细]
2023-03-20 23:20 分类:问答How to get the absolute library file name corresponding to a relative path given to dlopen?
In my program I have code like the following /* libname may be a relative path */ void loadLib(char const *libname) {[详细]
2023-03-20 03:34 分类:问答dlopen works second time on bad shared library on ubuntu 11.04; does the right thing on centos 5.5
I have bad shared library (undefined symbol). When I call dlopen() on it the first time, I get a NULL result with correct error message from dlerror().[详细]
2023-03-18 11:02 分类:问答c++ dynamic library dlopen error
I have two files: RollDice.cpp #include "RollDice.h" #include "./IPlugins.cpp" #include "./IPluginFunctions.cpp"[详细]
2023-03-12 12:47 分类:问答how to call function in executable from my library?
I have an e开发者_Python百科xecutable and a dynamic library (.so). The library exports some symbols and executable calls it successfully. But I want to make possible to library call executable\'s func[详细]
2023-03-11 21:48 分类:问答What is causing sprof to complain about "inconsistency detected by ld.so"?
I\'m trying to use sprof to profile some software (ossim) where almost all the code is in a shared library. I\'ve generated a profiling file, but when I run sprof, I get the following error:[详细]
2023-03-09 21:02 分类:问答dlopen errors with relative path
I am trying to call a .dylib file from another .dylib f开发者_如何学运维ile. They are in the same folder. I do this:[详细]
2023-02-22 19:59 分类:问答overriding @executable_path in a DLL loaded with dlopen()
Operating system is MacOS X, specifically 10.5 (Leopard) on a PowerPC G4, but I have the same problem on an x86 running 10.6.[详细]
2023-02-18 07:43 分类:问答