Compiling PHP 5.0 Beta 3 *Error*

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • charlie

    #1

    Compiling PHP 5.0 Beta 3 *Error*

    Hello,
    I am trying to compile php-5.0.0b3 on a fedora 1.0 system. I am
    beginning with the following:
    charliek 12$./configure \
    --with-apxs2=/usr/local/apache2/bin/apxs \
    --with-mysql --prefix=/usr/local/php5

    and it completes with the following:
    ############### ############### ######## BEGIN CONFIGURE OUTPUT
    +--------------------------------------------------------------------+
    | *** ATTENTION *** |
    | |
    | Something is likely to be messed up here, because the configure |
    | script was not able to detect a simple feature on your platform. |
    | This is often caused by incorrect configuration parameters. Please |
    | see the file debug.log for error messages. |
    | |
    | If you are unable to fix this, send the file debug.log to the |
    | php-install@lists.p hp.net mailing list and include appropiate |
    | information about your setup. |
    +--------------------------------------------------------------------+
    | License: |
    | This software is subject to the PHP License, available in this |
    | distribution in the file LICENSE. By continuing this installation |
    | process, you are bound by the terms of this license agreement. |
    | If you do not agree with the terms of this license, you must abort |
    | the installation process at this point. |
    +--------------------------------------------------------------------+

    Thank you for using PHP.
    ############### ############### ######### END CONFIGURE OUTPUT

    Debug.log contains the following:
    ############### ############### ########## BEGIN DEBUG LOG OUTPUT
    CONFIGURE: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--prefix=/usr/local/php5'
    CC: gcc
    CFLAGS: -g -O2
    CPPFLAGS:
    CXX:
    CXXFLAGS:
    INCLUDES: -I$(top_builddir )/Zend -I/usr/include/libxml2 -I/usr/include/mysql
    LDFLAGS:
    LIBS: -lcrypt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
    DLIBS:
    SAPI: apache2handler
    PHP_RPATHS:
    uname -a: Linux localhost.local domain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux

    gcc -o conftest -g -O2 conftest.c -lcrypt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt 1>&5
    ../conftest: relocation error: /usr/lib/libmysqlclient. so.10: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    ############### ############### ########### END DEBUG LOG OUTPUT

    I only am getting errors when I include the flag --with-mysql and it does
    on help if I point it to the /usr directory where I have mysql installed
    (same error). I realize that this is probably an issue on my end and was
    wondering what I can do to diagnose the problem. I have all of the newest
    updates for fedora 1.0 except the kernel which I update at a slower rate.
    My current kernel is 2.4.22-1.2115.nptl from uname -r. I realize that
    this is most likely a GLIBC linking error but I do not know what docs I
    can read to find out more about this.

    Note I have recently compiled and installed apache 2.0.48 and php 4.3.4
    with no problems. I also have the following mysql:
    $mysql --version
    mysql Ver 11.18 Distrib 3.23.54, for pc-linux (i686)


    Any help you can give me would be helpful even if it is where I can find
    further information on my problem. I could also reinstall mysql, but I
    can compile mysql support with php4 with no problems so I did not think
    that was the issue.

    Thanks,

    Charlie




Working...