Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[freenet] pb avec sun java, libc.so.6 et nptl (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
gbetous
l33t
l33t


Joined: 15 Jan 2004
Posts: 679
Location: Toulouse

PostPosted: Sat Apr 08, 2006 8:58 am    Post subject: [freenet] pb avec sun java, libc.so.6 et nptl (résolu) Reply with quote

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
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sat Apr 08, 2006 9:58 am    Post subject: Reply with quote

fait un revdep-rebuild
Cette commande est dans le gentoolkit.
Back to top
View user's profile Send private message
Darkael
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1321
Location: France

PostPosted: Sat Apr 08, 2006 1:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
gbetous
l33t
l33t


Joined: 15 Jan 2004
Posts: 679
Location: Toulouse

PostPosted: Sat Apr 08, 2006 4:29 pm    Post subject: Reply with quote

ca marche nickel, meric bcp !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum