Hi, it seems there is a bug in processing of environment variables (at least on Linux). If there are more than one directory set in LD_LIBRARY_PATH (separated by semicolons) then an application cannot be run (only message about pressing a key is displayed in the terminal window). If there is only one path in the mentioned env. variable, everything work fine.
I use Ubuntu 8.10, CL rev 2792.
Reagards
Michal
Unable to run application
-
- CodeLite Expert
- Posts: 159
- Joined: Mon Nov 03, 2008 9:17 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Unable to run application
Can u provide an example?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 159
- Joined: Mon Nov 03, 2008 9:17 pm
- Contact:
Re: Unable to run application
Hi, for example, with this value of LD_LIBRARY_PATH my application starts without any problem (LD_LIBRARY_PATH=/home/michal/Src/Projects/wxSF/lib/gcc_dll):
Content of output panel:
But with following settings only a black terminal window with text "Press ENTER to continue..." appears and nothing more happens ( LD_LIBRARY_PATH=/home/michal/Src/Projects/wxSF/lib/gcc_dll;/home/michal/Src/Projects/wxXS/lib/gcc_dll):
Content of output panel:
In previous revisions (unfortunatelly, I don't know in which revision the problem appeared for the first time) of CL everything worked fine.
Best regards
Michal
Content of output panel:
Code: Select all
Current working directory: /home/michal/Src/Projects/wxXS/samples/Sample3/bin/gcc
Running program: xterm -title './CustomDataSample ' -e '/bin/sh -f /usr/bin/le_exec.sh LD_LIBRARY_PATH=/home/michal/Src/Projects/wxSF/lib/gcc_dll ./CustomDataSample '
Program exited with return code: 0
Content of output panel:
Code: Select all
Current working directory: /home/michal/Src/Projects/wxXS/samples/Sample3/bin/gcc
Running program: xterm -title './CustomDataSample ' -e '/bin/sh -f /usr/bin/le_exec.sh LD_LIBRARY_PATH=/home/michal/Src/Projects/wxSF/lib/gcc_dll;/home/michal/Src/Projects/wxXS/lib/gcc_dll ./CustomDataSample '
Program exited with return code: 0
Best regards
Michal
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Unable to run application
Hi,
Regards,
David
Multiple dirs should be separated by colons, not semi-colons.If there are more than one directory set in LD_LIBRARY_PATH (separated by semicolons)...
Regards,
David
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Unable to run application
Nice catchDavidGH wrote:Multiple dirs should be separated by colons, not semi-colons.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 159
- Joined: Mon Nov 03, 2008 9:17 pm
- Contact:
Re: Unable to run application
Oooops.... What a shame! With colons everything work fine. Thanks a lot!eranif wrote:Nice catchDavidGH wrote:Multiple dirs should be separated by colons, not semi-colons.
Eran
Regards
Michal