If you mean chroot "jail" - setting this up can be complicated thing, depending on your environment. aMule depend on a lot of libs (depends on how did you compiled it), use ld to find out which exactly. You may consider to run only daemon (amuled) in such environment, since it doesn't need any X related libs