I have a shared library has built in rational rose and the target system is set to ppcbe. I try load the created so file by dlopen() command in QNX Momentics IDE while connecting to target system. QNX IDE resides on WIN7 64bit. I set the mylib.so file in Extra Object files. The build Project is done whithout no problem. but dlerror() gives me the following error: ldd:FATAL: Couldn't load library C:/ide-4.7-workspace/myproject/mylib.so
Some searches leaded me to set the LD_LIBRARY_PATH to target use/lib path. The so file is also copied in this target path. but the error didnt resolved. My surprise is why loader tries to find the library in a windows path, while i expect to locate it in target system path. I'm really frustrated. appreciate any hint.