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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC