Package: other

When trying to start Freenet 0.5 (http://freenetproject.org) using Sun
Java 1.4.2 it crashes and puts the following error messages on the console:

>>>>>
head: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
Sun Java 1.4.2 detected.
uname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
Starting Freenet now: Command line: java -Xmx128m freenet.node.Main
nice: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
Done
<<<<<

Running those programs (e.g. grep or uname) alone works flawlessly.
I'm running the amd64 version of Debian Etch and run java programs in a
i386 chroot of etch.

When I do "ln -s /usr/lib/libc.so /usr/lib/libc.so.6 and" and try to
start freenet again, I get:

>>>>>
head: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
sed: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
grep: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
grep: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
grep: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
Sun Java 1.4.2 detected.
uname: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
Starting Freenet now: Command line: java -Xmx128m freenet.node.Main
nice: error while loading shared libraries: /usr/lib/libc.so.6: invalid
ELF header
Done
<<<<<

Running freenet without the starter script, directly as "java -Xmx128m
-jar freenet.jar", does not cause these errors. I attach the script to
this mail.

Attachment: start-freenet.sh
Description: Bourne shell script

Reply via email to