I suggest using a shell-script to start C::B and dynamically set LD_LIBRARY_PATH to the dir libcodeblocks.so* (and the other so's) reside.
Thanks for your quick reply. This works!
Now I have the next error:
error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: cannot open shared object file: No such file or directory
I think this is because I didn't compile wxGTK. Instead I installed it with the package manager (on the system where I compiled Code Blocks). But on the target system wxGTK is not available (and I have no root rights). What do you suggest?
Atm I'm trying two things:
- copy all missing library files from my local system to the Code Blocks Portable /lib Folder. This gave me a segmentation fault when trying to run code blocks
- compile wxGTK, and put it into the /lib folder of Code Blocks Portable. By now I didn't succeed in compiling wxGTK, (make gives me a code error...)
What do you think? Is this the right path?