php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55534 Compile fails with Undefined symbol: .mysql_get_client_version
Submitted: 2011-08-30 01:36 UTC Modified: 2011-08-30 10:30 UTC
From: jenaray at us dot ibm dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.3.8 OS: AIX 5.3.0.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jenaray at us dot ibm dot com
New email:
PHP Version: OS:

 

 [2011-08-30 01:36 UTC] jenaray at us dot ibm dot com
Description:
------------
Configure statement
'./configure' \
'--prefix=/opt/freeware' \
'--with-apxs=/opt/freeware/apache/sbin/apxs' \
'--with-mysql=/opt/freeware' \
'--with-config-file-path=/etc/opt/freeware/apache' \
'--with-zlib' \
'--with-zlib-dir=/opt/freeware' \
'--with-system-regex' \
'--with-gd' \
'--with-libxml-dir=/opt/freeware' \
'--with-jpeg-dir=/opt/freeware' \
'--with-png-dir=/opt/freeware' \
'--with-ftp' \

AIX 5.3.0
Apache 1.2
MySQL 3.23.32

Make fails with error -
libtool: link: warning: library `/opt/freeware/lib/libjpeg.la' was moved.
libtool: link: warning: library `/opt/freeware/lib/libjpeg.la' was moved.
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_client_version
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
gmake: *** [sapi/cli/php] Error 1


Expected result:
----------------
Successful make

Actual result:
--------------
libtool: link: warning: library `/opt/freeware/lib/libjpeg.la' was moved.
libtool: link: warning: library `/opt/freeware/lib/libjpeg.la' was moved.
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_client_version
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
gmake: *** [sapi/cli/php] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-30 10:30 UTC] johannes@php.net
-Status: Open +Status: Bogus
 [2011-08-30 10:30 UTC] johannes@php.net
AIX 5.3 is from 2004, PHP is from 2002 or so apache 1.2 is damn old, too. You can't expect software released less than a week ago to run on such an old base.

For mysql you can try using --with-mysql=mysqlnd while I still won't expect PHP to work properly.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC