[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

[Sop.Tec.LinuxPPP] Re: soporte php



On Tue, 24 Jun 2003, Sandra Guzmán Bárcena wrote:

> Hola, les escribo para pedirles ayuda, me encuentro con un problema a la hora de
> realizar el soporte de php en apache:
> 
> cuando le doy la siguiente instruccion
> 
> root]# ./configure --prefix=/usr/local/apache
> --activate-module=src/modules/php4/libphp4.a
> 
> realiza todo bien:
> 
> Configuring for Apache, Version 1.3.27
>  + using installation path layout: Apache (config.layout)
>  + activated php4 module (modules/php4/libphp4.a)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>  + configured for Linux platform
>  + setting C compiler to gcc
>  + setting C pre-processor to gcc -E
>  + checking for system header files
>  + adding selected modules
>     o php4_module uses ConfigStart/End
>  + using system Expat
>  + checking sizeof various data types
>  + doing sanity check on compiler and options
> Creating Makefile in src/support
> Creating Makefile in src/os/unix
> Creating Makefile in src/ap
> Creating Makefile in src/main
> Creating Makefile in src/modules/standard
> Creating Makefile in src/modules/php4
> 
> el problema esta cuando le doy make por que me arroja el siguiente error 
> 
> ===> src/main
> gcc -c  -I../os/unix -I../include   -DLINUX=22 -DNO_DL_NEEDED `../apaci`
> gen_test_char.c
> gcc  -DLINUX=22 -DNO_DL_NEEDED `../apaci`   -o gen_test_char gen_test_char.o 
> -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4   
> -rdynamic   -lmysqlclient -lz -lcrypt -lresolv -lm -ldl -lnsl  -lcrypt   -lm -lcrypt
> -lexpat
> ./gen_test_char >test_char.h
> ./gen_test_char: error while loading shared libraries: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
> make[3]: *** [test_char.h] Error 127
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/usr/local/apache_1.3.27/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/apache_1.3.27'
> make: *** [build] Error 2
> 
> agradeceria algun consejo de como realizar el soporte, de ante mano muchas gracias.

 Lo que te hace falta es instalar el paquete mysql-devel, que contiene la 
biblioteca dinámica que busca PHP para poder utilizar MySQL.

					Saludos
-- 
__(o< | Nombres/Names:        Cristian Othón  |  cfuga en linuxppp com
\/|/  | Apellidos/Last Names: Martínez Vera   | http://linuxppp.com/
/_/_  |                                       | http://cfuga.net/
      |    "Pulchrum est paucorum hominum"    - Horace
-- 
Lista de soporte de LinuxPPP
Dirección email: Linux en linuxppp com
Dirección web: http://mail.linuxppp.com/mailman/listinfo/linux
Reglas de la lista: http://linuxppp.net/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]