#31002 [NoF->Opn]: IA64 Unable to link php with Mysql 4.1.7
| From: | zeke at spamcop dot net | Date: | Fri, 21 Jan 2005 12:41:26 +0000 |
| Subject: | #31002 [NoF->Opn]: IA64 Unable to link php with Mysql 4.1.7 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72588@lists.php.net to get a copy of this message | ||
ID: 31002
User updated by: zeke at spamcop dot net
Reported By: zeke at spamcop dot net
-Status: No Feedback
+Status: Open
Bug Type: MySQL related
Operating System: Linux 2.4.21-sgi301r1
-PHP Version: 4.3.9
+PHP Version: 4
New Comment:
Hi, I tried the latest build:php4-STABLE-200501211130
Same error during the linking step. I used the same configure options
as in my original message.
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_buffer_length
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol max_allowed_packet
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_write_timeout
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_read_timeout
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
Previous Comments:
------------------------------------------------------------------------
[2005-01-21 01:00:10] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-01-13 04:29:41] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-12-06 22:43:50] zeke at spamcop dot net
Edit: Also tried with the --with-pic option on the configure command
line .. still same link errors.
------------------------------------------------------------------------
[2004-12-06 20:33:27] zeke at spamcop dot net
Description:
------------
Platform: SGI Altix 350 16p Itainium2
OS: Linux Kern 2.4.21 SGIPropack3
MySql Version: 4.1.7
gcc version: 3.2.2
Building php with the line ./configure --with-mysql=/usr/local/mysql
--with-apxs2
"Make" during the step to create libphp4.la Results in the following
errors:
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_buffer_length
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol max_allowed_packet
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_write_timeout
/usr/bin/ld: /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): @gprel
relocation against dynamic symbol net_read_timeout
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
Other informaiton:
I can make php fine without mysql support.
I had the same problems with php4.3.10RC1 and php5
The Mysql is the 4.1.7 IA64 Max binary distribtion.
Any suggesitons to get this linked with mySql would be appreciated.
Cheers,
Mike
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31002&edit=1