I have a problem with dynamic libraries:
In my “development environment” I have a library (*.so) in one path different of the target environment.
When I compile the application, I need to use the developpment path, but when I try to execute the application in the target, I have the error “Could not find library…”

I set the variable LD_LIBRARY_PATH to the path where the library is installed.
Can anybody help me?


IIRC LD_LIBRARY_PATH isn’t honoured if the executable
is setuid root. Try setting the CS_LIBPATH confstr.


Thanks, but I have checked CS_LIBPATH without results.
Perhaps it is a compilation problem?
My QNX version is 6.3 and in 6.4 the “LD_LIBRARY_PATH” is working fine.