Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
855 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  compilation PHP et support GD sur Solaris 2.8

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

compilation PHP et support GD sur Solaris 2.8

n°259066
z0rglub
Posté le 06-05-2003 à 18:35:46  profilanswer
 

bonjour à tous,
 
je dois installer PHP avec le support de GD sur un solaris 2.8. J'ai d/l la version 4.3.1 (avec une version 2.0.x bundled de GD)
 
J'ai installé les librairies png comme en témoigne ce résultat de ls :

Code :
  1. $ ll /usr/local/lib | grep png
  2. lrwxrwxrwx   1 root     other         10 Apr 29 16:27 libpng.a -> libpng12.a
  3. lrwxrwxrwx   1 root     other         19 Apr 29 16:27 libpng.so -> libpng12.so.0.1.2.4
  4. lrwxrwxrwx   1 root     other         19 Apr 29 16:27 libpng.so.3 -> libpng12.so.0.1.2.4
  5. lrwxrwxrwx   1 root     other         19 Apr 29 16:27 libpng.so.3.1.2.4 -> libpng12.so.0.1.2.4
  6. -rw-r--r--   1 bin      bin       197680 Sep  9  2002 libpng12.a
  7. lrwxrwxrwx   1 root     other         19 Apr 29 16:27 libpng12.so -> libpng12.so.0.1.2.4
  8. lrwxrwxrwx   1 root     other         19 Apr 29 16:27 libpng12.so.0 -> libpng12.so.0.1.2.4
  9. -rwxr-xr-x   1 bin      bin       175604 Sep  9  2002 libpng12.so.0.1.2.4


 
je lance un configure :

Code :
  1. ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-gd --with-zlib-dir=/usr/local/lib --with-zlib --with-png-dir=/usr/local/lib


qui se passe sans soucis, puis vient le make... et là MALHEUR  :( j'ai ces belles erreurs :

Code :
  1. ext/gd/libgd/gd_png.lo: In function `gdPngErrorHandler':
  2. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:65: undefined reference to `png_get_error_ptr'
  3. ext/gd/libgd/gd_png.lo: In function `gdPngReadData':
  4. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:82: undefined reference to `png_get_io_ptr'
  5. ext/gd/libgd/gd_png.lo: In function `gdPngWriteData':
  6. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:90: undefined reference to `png_get_io_ptr'
  7. ext/gd/libgd/gd_png.lo: In function `gdImageCreateFromPngCtx':
  8. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:141: undefined reference to `png_check_sig'
  9. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:145: undefined reference to `png_create_read_struct'
  10. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:156: undefined reference to `png_create_info_struct'
  11. /home/pierrick/php/php-4.3.1/ext/gd/libgd/gd_png.c:179: undefined reference to `png_set_sig_bytes'
  12. [...]
  13. collect2: ld returned 1 exit status
  14. make: *** [sapi/cli/php] Error 1


 
 :cry: Bref, je sais pas trop quoi faire ni quoi installer sachant qu'il n'y a pas de soucis lors du configure.


---------------
Ma galerie photo créée avec Piwigo et hébergée sur Piwigo.com
mood
Publicité
Posté le 06-05-2003 à 18:35:46  profilanswer
 

n°259265
z0rglub
Posté le 07-05-2003 à 10:11:26  profilanswer
 

up ? (j'ai toujours pas réussi)


---------------
Ma galerie photo créée avec Piwigo et hébergée sur Piwigo.com
n°259374
z0rglub
Posté le 07-05-2003 à 13:16:49  profilanswer
 

en fait l'erreur qui fait sortir du make, c'est la dernière (oh, la belle lapalissade !)

Code :
  1. ext/standard/fsock.lo: In function `php_lookup_hostname':
  2. /home/pierrick/php/php-4.3.1/ext/standard/fsock.c:120: undefined reference to `inet_aton'
  3. collect2: ld returned 1 exit status
  4. make: *** [sapi/cli/php] Error 1


 
j'suis sûr que c'était cette information qui vous manquait pour me venir en aide  :whistle:


---------------
Ma galerie photo créée avec Piwigo et hébergée sur Piwigo.com

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  compilation PHP et support GD sur Solaris 2.8

 

Sujets relatifs
Info concernant compilation Noyau et NVidiaprobleme generation de fichier certificate/key pour le support SSL
[RESOLU] Problème à la compilation de winexFreeze du systeme durant la compilation du kernel
partimage et support carte IDE RAID (HPT370)Problème : compilation de WineX (pour changer)
probleme avec la compilation de Glibc 2.3.2Redhat 8 : compilation de noyau
[gentoo] emerger Apache PHP et Mysql en même temps ???Un truc très drole et pas drole à la fois sous Solaris
Plus de sujets relatifs à : compilation PHP et support GD sur Solaris 2.8


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR