+ Responder ao Tópico



  1. #1
    napster
    Visitante

    Padrão Problemas ao compilar php5 com suporte a mysql

    Boa tarde a todos galera, estou com um problema na compilação do meu php-5.2.0 com suporte ao mysql-4.1.
    segue o erro abaixo
    configure: error: Cannot find MySQL header files under /usr/lib.
    Note that the MySQL client library is not bundled anymore!

    SE alguem puder me ajudar, ficarei grato

  2. #2
    napster
    Visitante

    Padrão

    tentei migrar para o mysql 5.0, da erro do mesmom jeito
    segue o erro e o comando utilizado abaixo

    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --enable-force-cgi-redirect --disable-cgi --with-z=/usr/include/linux --with-snmp --with-pear --with-jpeg --with-png --with-gd --with-bz2=/usr/lib/ --with-zlib -enable-bcmath


    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    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.