[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 104570] New: run option 'run from the directory where the executable is' only working when runn
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-04-26 8:18:38
Message-ID: 20050426101836.104570.serge.koganovitsch () zetes ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=104570         
           Summary: run option 'run from the directory where the executable
                    is' only working when running the program in the
                    debugger
           Product: kdevelop
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: serge.koganovitsch zetes com


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic