run on other machine

hi,

If I run my game on my pc it works great. But if I do so on another machine I get following error:
./BaseWar: error while loading shared libraries: libcocos2d.so: cannot open shared object file: No such file or directory

I found the lib directory for linux in cocos2dx, but i do not know where to put these files. I already tried to put them to the executeable and tried to use the same directory structure as in the cocos2dx project.

man ld.so
More specifically, look at setting LD_LIBRARY_PATH to where the .so files are. Should be good enough for testing purposes…