|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-01-15 08:26 UTC] ozone at cname dot com
Description:
------------
environment: solaris 9u7, gcc 3.4.2.
1. install mysql 5.0.18 (binary package from mysql.com)
2. configure php 5.1.2 (or 5.1.1) distribution, --with-mysql=/opt/mysql/mysql
3. make
4. build fails during final link stage
php 5.0.5 compiles cleanly and works fine with the exact same options.
behavior is identical to #35492, but no resolution is given for that bug other than "it's a duplicate of some other bug" (which one?)
Reproduce code:
---------------
from config.nice:
'./configure' \
'--prefix=/usr/local' \
'--with-apxs2=/usr/local/bin/apxs' \
'--with-mysql=/opt/mysql/mysql' \
'--with-xsl=/usr/local' \
'--with-openssl=/usr/local' \
'--with-gd=/usr/local' \
'--with-mysql-sock=/tmp/mysql.sock' \
'--with-zlib' \
'--with-zlib-dir=/usr/local' \
'--enable-sockets' \
'--enable-dbase' \
"$@"
Expected result:
----------------
a working php...
Actual result:
--------------
Text relocation remains referenced
against symbol offset in file
<unknown> 0x0 /opt/mysql/mysql/lib/libmysqlclient.a(ctype.o)
<unknown> 0x4 /opt/mysql/mysql/lib/libmysqlclient.a(ctype.o)
<unknown> 0x8 /opt/mysql/mysql/lib/libmysqlclient.a(ctype.o)
<unknown> 0xc /opt/mysql/mysql/lib/libmysqlclient.a(ctype.o)
<unknown> 0x0 /opt/mysql/mysql/lib/libmysqlclient.a(default.o)
<unknown> 0x1c /opt/mysql/mysql/lib/libmysqlclient.a(default.o)
mysql_unix_port 0x58 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
mysql_unix_port 0xa4 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
mysql_unix_port 0xb4 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
mysql_unix_port 0xb8 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
mysql_unix_port 0xd4 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
mysql_unix_port 0xe8 /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o)
(hundreds of lines of failed symbols, all from libmysqlclient.a)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 23:00:01 2025 UTC |
i did search the bug database; duplicates against 5.1.* were not found. the behavior ("works in 5.0.5") implies an incompatible change in 5.1.*. switching to gnu ld does not fix the problem, either; root cause is the libraries included with the mysql binary package for solaris.