ID: 36020
User updated by: ozone at cname dot com
Reported By: ozone at cname dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: solaris 9
PHP Version: 5.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-01-15 15:00:08] [EMAIL PROTECTED]
Hint: Next time, try actually searching the bug database first.
------------------------------------------------------------------------
[2006-01-15 14:59:01] [EMAIL PROTECTED]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See also bug #34516
------------------------------------------------------------------------
[2006-01-15 08:26:52] 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)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36020&edit=1