Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2004
    Location
    Bucharest
    Posts
    37

    Post Unanswered: install mysql 5.0.26 with php-5.1.6 - lib issues?

    ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-module=so --enable-cli --with-zlib-dir=/usr/include

    [...]

    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_errno in -lmysqlclient... no
    configure: error: mysql configure failed. Please check config.log for more information.
    root@sasaserver:/home/serban/kits/php-5.1.6#

    ------------cut from config.log----------------------

    int main() {
    mysql_close()
    ; return 0; }
    configure:58773: checking for mysql_error in -lmysqlclient
    configure:58792: gcc -o conftest -I/usr/include -g -O2 -Wl,-rpath,/usr/local/m$
    /usr/local/mysql/lib/libmysqlclient.a(client.o): In function `mysql_real_connec$
    client.c:(.text+0x15f6): undefined reference to `_intel_fast_memcpy'
    /usr/local/mysql/lib/libmysqlclient.a(client.o): In function `cli_read_rows':
    client.c:(.text+0x23d4): undefined reference to `_intel_fast_memcpy'

    [....]

    inflate.c:(.text+0x1e5d): undefined reference to `_intel_fast_memcpy'
    inflate.c:(.text+0x1e8d): undefined reference to `_intel_fast_memcpy'
    inflate.c:(.text+0x1ecd): undefined reference to `_intel_fast_memcpy'
    /usr/local/mysql/lib/libz.a(inflate.o):inflate.c:(.text+0x1ff3): more undefined$
    /usr/local/mysql/lib/libz.a(gzio.o): In function `gzseek':
    gzio.c:(.text+0x1270): undefined reference to `_intel_fast_memset'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 58781 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char mysql_error();

    int main() {
    mysql_error()
    ; return 0; }

    ------------cut from config.log----------------------


    im in the middle of php install, when it stops and tells me to look into config.log. in there i can only see some stuff about a file located in /lib/

    do i need any other libraries installed? this never happened when i previously installed lamp with older versions.

    i've installed mysql-dfsg-5.0-5.0.22.orig in case that helps

    thanks
    Last edited by Zamolxe; 10-16-06 at 18:44. Reason: detalied debug info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •