I tried using sudo, but the problem with that is it disables the LD_LIBRARY_PATH environmental variable, which I need to have (and set) so that my program can locate a shared library.
"sudo tries to be safe when executing external commands. Variables that control how dynamic loading and binding is done can be used to subvert the program that sudo runs. To combat this the LD_, _RLD_, SHLIB_PATH (HP-UX only), and LIBPATH (AIX only) environment variables are removed from the environment passed on to all commands executed" - from the Sudo website
Apparently the Zaurus searches for shared libraries in /usr/QtPalmtop.rom/ , so I tried to just copy my library into there but it won't let me (even when I am root) because
cp: unable to open '/usr/QtPalmtop.rom/libLogger.so': Read-only file system
Thanks for your help