Qantourisc wrote:so you do : chroot /opt/games/Nexuiz /bin/bash ? or some other form please ? Also consider installing the correct libs inside the chroot. (If you are doing this for 64/32 bit issues, nexuiz compiles and runs fine in 64bit)
Hi Qantourisc,
in case i don´t understand your answer, here´s my setup:
- added user and group nexuiz to the linux-host
- created directory /home/nexuiz
- created directories bin, etc, home, lib, usr/lib inside /home/nexuiz
- copied resolv.cfg and passwd to /home/nexuiz/etc (stripped down passwd-file to one entry for user nexuiz)
- unzipped nexuiz-20.zip to /home/nexuiz.20 and created symlink to /home/nexuiz/nexuiz (data, Docs, sources, Nexuiz.app, ...)
- did ldd on 32-bit dedicated server binary-file and copied needed libs from host to /home/nexuiz/lib
- also copied some binarys (su, bash, cp) to /home/nexuiz/bin
- tried to start nexuiz ded. server
(error message: Trying to load library... "libcurl.so.3" "./libcurl.so.3" - failed.)
- copied libcurl.so.3 to /home/nexuiz/lib and /home/nexuiz/usr/lib
- also copied libcurl.so.3 to /home/nexuiz/nexuiz
BREAK - BREAK - BREAK
While posting i´ve figured out, that some files where still missing. The server seems to work now.
I´ll be back later to post my final answer "How to set up Nexuiz in CHROOT".
Thanks.