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

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

Re: [Ayuda] gentoo y php-5.0.3



Lista de Linux wrote:
Pues eso, al tratar de hacer un emerge al php me sale este error:

------

checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... /var/run/mysqld/mysqld.sock
checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/php-5.0.3/work/php-5.0.3/config.log

!!! ERROR: dev-php/php-5.0.3 failed.
!!! Function econf, Line 483, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message

-----------------------------------

y en el config.log me sale.



configure:53933: checking for MySQL UNIX socket location
configure:54089: checking for mysql_close in -lmysqlclient
configure:54108: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib conftest.c -lmysqlclient -lm
-ldb-4.2 -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x2a): In function `report_errors':
: undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xac): In function `vio_ssl_read':
: undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xd2): In function `vio_ssl_read..

------------------
y igue así con muchisimos undefined, nunca me habia pasado esto, así que no tengo mucha idea de por donde va la cosa, alguna idea?


Gracias

Roberto



Estos últimos días han habido algunos problemas con el nuevo gcc 3.3.5. Si acabas de hacer un emerge --update --world es posible que esto sea la causa de tu problema. Ve: http://forums.gentoo.org/viewtopic.php?t=278673

Espero que te sirva.

Saludos,

Eugenio




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