View previous topic :: View next topic |
Author |
Message |
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Sat Apr 08, 2006 8:58 am Post subject: [freenet] pb avec sun java, libc.so.6 et nptl (résolu) |
|
|
salut !
j'ai des problèmes pour lancer freenet (version 0.7, téléchargée sur le site).
quand j'ai tout configuré et que je lance le "sh start-freenet.sh", j'ai les messages suivants :
Code: |
Detected freenet-ext.jar
Detected freenet.jar
Sun java detected.
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
|
il me semle avoircompris que ce serait en rapport avec nptl, sachant que j'ai les USE ntpl et nptlonly depuis longtemps (et donc que ma libc a été compilée avec ces options)
si qqu'un a une idée... merci !!!
Last edited by gbetous on Sat Apr 08, 2006 4:29 pm; edited 2 times in total |
|
Back to top |
|
|
BuBuaBu l33t
Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Sat Apr 08, 2006 9:58 am Post subject: |
|
|
fait un revdep-rebuild
Cette commande est dans le gentoolkit. |
|
Back to top |
|
|
Darkael Veteran
Joined: 10 Aug 2004 Posts: 1321 Location: France
|
Posted: Sat Apr 08, 2006 1:36 pm Post subject: |
|
|
gbetous, édite le fichier start-freenet.sh et commente les lignes suivantes:
Code: |
if test -f /etc/redhat-release
then
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
#gentoo however dies with 2.2.5
elif test -f /etc/gentoo-release -o -f /etc/SuSE-release
then
LD_ASSUME_KERNEL=2.4.1
export LD_ASSUME_KERNEL
else
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
fi
|
ça devrait mieux marcher maintenant.
[EDIT]
oh, et puis si tu pouvais aussi éditer ton titre en suivant les conventions de ce forum, ça serait bien |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Sat Apr 08, 2006 4:29 pm Post subject: |
|
|
ca marche nickel, meric bcp !!! |
|
Back to top |
|
|
|