Pajarico wrote:I have configure and updated it, but when i try to run the daemon:
Code: Select all
bash-2.05b# /etc/init.d/freenet start
* Starting Freenet now...
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
nice: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sleep: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
ps: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
cat: 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 [ !! ]
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Hi, I stumbled accross this thread the other day. I was having the same problem with Freenet. The above problem is caused by glibc.
The current stable version of glibc in Gentoo is either compiled with, or without nptl. Now, if you use a nptl system (which is a good thing(tm)) and the current stable version of glibc (2.3.4.20040808-r1, at time of writing), then you will have a system which does not run well with programs that don't like nptl.
Gentoo recently changed the policy towards glibc. It now compiles it twice, once with, and once without nptl. So you can use the non-nptl version when required, as it is in this case. So the soultion is to use a ~x86 version of glibc for the time being, so you get a glibc which is more compatible. That should kill your shared libraries errors.
This thread is so old I guess everyone already has the soultion, but I thought it worth posting anyway, just in case someone has the same problem.
After fixing glibc, I got the Freenet not working with the following in /var/freenet/freenet.stderr.log:
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: freenet/node/Main
Use the sudoers trick discuessed above to fix this.
-Ribs.