Hi,
I generated a minimal wx application from CodeLite and successfully built it. However, clicking RUN didn't do anything. Running it from command-line gives the following error:
./testwx: error while loading shared libraries: libwx_gtk2u_core-2.9.so.4: cannot open shared object file: No such file or directory
Now I know I can guess that I have to specify the path to the folder that contains the shared libraries. However, I don't know where I can specify that? Or, is there any other solution to this problem?
Please help me.
Thanks and regards,
Runtime error while exeucting a program built by CodeLite
-
- CodeLite Curious
- Posts: 1
- Joined: Thu Jun 27, 2013 6:18 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Runtime error while exeucting a program built by CodeLit
look at ldconfig
and/or LD_LIBRARY_PATH
The later can be set in Settings -> Environment Variables... (Ctrl + Shift + V).
and/or LD_LIBRARY_PATH
The later can be set in Settings -> Environment Variables... (Ctrl + Shift + V).
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Runtime error while exeucting a program built by CodeLit
I think you got your answer on the mailing list
Eran
Eran
Make sure you have read the HOW TO POST thread