Précédent   Forum des professionnels en informatique > Systèmes > Linux > Système
Système Vos questions autour de l'administration système
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 03/12/2010, 09h31   #1
Membre confirmé
 
Inscription : octobre 2006
Messages : 440
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 440
Points : 222
Points : 222
Par défaut Installation de PHP 5.3.2 sur Redhat 5.5

Bonjour,

Je dois installer PHP 5.3.2 sur Redhat 5.5. Lorsque je lance mon
Code :
rpm -ivh php-5.3.2-6.el6.x86_64.rpm
, je reçois les messages d'erreurs de dépendances ci-dessous :
Citation:
warning: php-5.3.2-6.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
error: Failed dependencies:
libc.so.6(GLIBC_2.11)(64bit) is needed by php-5.3.2-6.el6.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by php-5.3.2-6.el6.x86_64
libc.so.6(GLIBC_2.8)(64bit) is needed by php-5.3.2-6.el6.x86_64
libcrypto.so.10()(64bit) is needed by php-5.3.2-6.el6.x86_64
libssl.so.10()(64bit) is needed by php-5.3.2-6.el6.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by php-5.3.2-6.el6.x86_64
libxml2.so.2(LIBXML2_2.5.2)(64bit) is needed by php-5.3.2-6.el6.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by php-5.3.2-6.el6.x86_64
libxml2.so.2(LIBXML2_2.6.11)(64bit) is needed by php-5.3.2-6.el6.x86_64
libxml2.so.2(LIBXML2_2.6.5)(64bit) is needed by php-5.3.2-6.el6.x86_64
php-cli = 5.3.2-6.el6 is needed by php-5.3.2-6.el6.x86_64
php-common = 5.3.2-6.el6 is needed by php-5.3.2-6.el6.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by php-5.3.2-6.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by php-5.3.2-6.el6.x86_64
Le rpm provient de RedHat. Mon libc.so.6 existe (voir ci-dessous) :
Citation:
[root@rh55tla linux]# /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-46).
Compiled on a Linux 2.6.9 system on 2010-03-10.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Ces même problèmes de dépendance apparaissent lorsque je tente d'installer le php-cli, php-common. J'ai tenté de mettre à jour la glibc (voir ci-dessous), mais d'autres messages d'erreur et de dépendance :
Citation:
warning: glibc-2.12-1.7.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
error: Failed dependencies:
glibc-common = 2.12-1.7.el6 is needed by glibc-2.12-1.7.el6.x86_64
libfreebl3.so(NSSRAWHASH_3.12.3)(64bit) is needed by glibc-2.12-1.7.el6.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by glibc-2.12-1.7.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by glibc-2.12-1.7.el6.x86_64
binutils < 2.19.51.0.10 conflicts with glibc-2.12-1.7.el6.x86_64
prelink < 0.4.2 conflicts with glibc-2.12-1.7.el6.x86_64
glibc > 2.5 conflicts with glibc-common-2.5-49.x86_64
Y a t'il une méthode qui me permette de mettre à jour la GLIBC et d'installer mon PHP, en règlant tous ces problèmes de conflit de version ?

Merci d'avance pour votre aide.

tibal est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2010, 14h05   #2
Membre confirmé
 
Inscription : octobre 2006
Messages : 440
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 440
Points : 222
Points : 222
En fait, PHP 5.3.2 ne tourne que la RedHat 6. Je tente de compiler les sources d'un PHP 5.2.14. J'ai résolu touts les problèmes de dependance mais un dernière erreur me bloque :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-lm -lxslt -lxml2 -lz -lm -lcrypt  -o sapi/cgi/php-cgi
ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `set_zval_xmlrpc_type':
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1327: undefined reference to `XMLRPC_CreateValueDateTime_ISO8601'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1329: undefined reference to `XMLRPC_GetValueDateTime_ISO8601'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1345: undefined reference to `XMLRPC_CleanupValue'
ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `XMLRPC_to_PHP':
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:580: undefined reference to `XMLRPC_GetValueType'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:624: undefined reference to `XMLRPC_VectorRewind'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:629: undefined reference to `XMLRPC_GetValueID'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:631: undefined reference to `XMLRPC_VectorNext'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:589: undefined reference to `XMLRPC_GetValueString'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:616: undefined reference to `XMLRPC_GetValueStringLen'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:597: undefined reference to `XMLRPC_GetValueInt'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:605: undefined reference to `XMLRPC_GetValueDouble'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:609: undefined reference to `XMLRPC_GetValueStringLen'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:610: undefined reference to `XMLRPC_GetValueDateTime_ISO8601'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:601: undefined reference to `XMLRPC_GetValueBoolean'
/download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:614: undefined reference to `XMLRPC_GetValueBase64'
ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `PHP_to_XMLRPC_worker':
tibal est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2010, 14h57   #3
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
non ?
becket est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2010, 15h01   #4
Membre confirmé
 
Inscription : octobre 2006
Messages : 440
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 440
Points : 222
Points : 222
Bonjour Frédéric,
La PHP 5.2.14 ne fait pas partie de la distrib RedHat 5.5. Il s'agit de sources que j'ai récupérer sur php.net.
tibal est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2010, 19h18   #5
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
Tu es sur d'avoir tous les "minimum requirement" au niveau des libraires ?
becket est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2010, 20h00   #6
Membre confirmé
 
Inscription : octobre 2006
Messages : 440
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 440
Points : 222
Points : 222
Il me semble que oui. Par contre, je le compile avec de nombreuses options que je pourrais poster que lundi car je ne peux me connecter au serveur de là ou je suis.
Concernant l'erreur, j'ai installé toutes les librairies pour lesquelles le ./configure m'a retourné des erreurs. Mais je fournirai tout les détails dont tu as besoin lundi.

Merci pour ton aide.
tibal est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 06h53.


 
 
 
 
Partenaires

Hébergement Web