Announcement

Announcement Module
Collapse
No announcement yet.

Failed to compile PHP 5.3.26 against Percona Server 5.6.12-rc60.4.393

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Failed to compile PHP 5.3.26 against Percona Server 5.6.12-rc60.4.393

    I installed Percona Server 5.6.12-rc60.4.393 and tried to compile PHP 5.3.26 with:

    Code:
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli --with-zlib --with-gd --enable-sockets --enable-mbstring --enable-zip --enable-sysvsem --with-curl --with-mcrypt --enable-soap --with-bz2

    When I make I get:

    Code:
    ext/mysqli/.libs/mysqli.o: In function `php_local_infile_error':
    /root/php/php-5.3.26/ext/mysqli/mysqli.c:1495: undefined reference to `client_errors'
    ext/mysqli/.libs/mysqli.o: In function `php_local_infile_read':
    /root/php/php-5.3.26/ext/mysqli/mysqli.c:1419: undefined reference to `client_errors'
    ext/mysqli/.libs/mysqli.o: In function `php_local_infile_init':
    /root/php/php-5.3.26/ext/mysqli/mysqli.c:1372: undefined reference to `client_errors'

    I am using CentOS v5.

  • #2
    I also meet this problem ,and my box is CentOS6.4 x86_64 Percona-Server-devel-56-5.6.14-rel62.0.483.rhel6.x86_64 install php5.2.17,error message:​php-5.2.17/ext/mysqli/mysqli.c:1175: undefined reference to `client_errors'

    Comment


    • #3
      I ran into this issue after installing Percona 5.6 and rebuilding PHP 5.4.24 with easy apache. The solution was to use the most recent PHP version available which for my server was 5.5.8

      Comment

      Working...
      X