Run Program won't find my local shared libraries...
Posted: Tue Aug 16, 2016 7:53 pm
Hi,
My Error message from terminal:
And what's shown in the Output View of CodeLite 9.1.7
However, I did add a relative path ../../lib into . It looks from the above that only the folder under current project is added to library search path when run the program. I wonder
Cheers
Pei
My Error message from terminal:
Code: Select all
./mytest: error while loading shared libraries: libsmtest.so: cannot open shared object file: No such file or directory
Press ENTER to continue...
Code: Select all
Current working directory: .../bin
Running program: /usr/bin/codelite_xterm './mytest ' '/bin/sh -f /usr/bin/codelite_exec LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib32 [b]./mytest[/b]'
Program exited with return code: 0
Code: Select all
Project->Settings->Libraries Search Path
- Why CodeLite does NOT automatically/defaultly add my Libraries Search Path into the program search path during link/build when I try to run the program ?
- How to add my own Libraries Search Path from within CodeLite IDE?
Cheers
Pei