Version: (using KDE KDE 3.3.91) Installed from: Debian testing/unstable Packages Compiler: g++ 3.3.5 Debian 1:3.3.5-12 OS: Linux Project Options => Run Options Directory: Run from the current directory where the executable is. Program: src/MainApp/MyProgram (relative to BUILD directory) (BUILD directory=~/sandbox/myprogram) Program arguments: abc Environment Variables: LD_LIBRARY_PATH=../Database This works perfectly when running the application in the debugger. When simply executing the application the .so in LD_LIBRARY_PATH is not found because the current working directory is incorrectly set to the BUILD directory instead of 'BUILD'/src/MainApp
I experience this problem even if I run the application using the debugger. My project consists of qmake files, if that is important. Please confirm.
This is fixed in recent 3.4 SVN revisions, where you can specify the working directory directly.