Page 1 of 1

Runtime error while exeucting a program built by CodeLite

Posted: Thu Jun 27, 2013 6:30 pm
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,

Re: Runtime error while exeucting a program built by CodeLit

Posted: Thu Jun 27, 2013 7:35 pm
by Jarod42
look at ldconfig
and/or LD_LIBRARY_PATH

The later can be set in Settings -> Environment Variables... (Ctrl + Shift + V).

Re: Runtime error while exeucting a program built by CodeLit

Posted: Fri Jun 28, 2013 8:09 am
by eranif
I think you got your answer on the mailing list

Eran