Runtime error while exeucting a program built by CodeLite

General questions regarding the usage of CodeLite
Ponka
CodeLite Curious
Posts: 1
Joined: Thu Jun 27, 2013 6:18 pm
Genuine User: Yes
IDE Question: C++
Contact:

Runtime error while exeucting a program built by CodeLite

Post by Ponka »

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,
User avatar
Jarod42
CodeLite Expert
Posts: 239
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

Post by Jarod42 »

look at ldconfig
and/or LD_LIBRARY_PATH

The later can be set in Settings -> Environment Variables... (Ctrl + Shift + V).
User avatar
eranif
CodeLite Plugin
Posts: 6373
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

Post by eranif »

I think you got your answer on the mailing list

Eran
Make sure you have read the HOW TO POST thread
Post Reply