ID: 35743 Updated by: [EMAIL PROTECTED] Reported By: webtech at get-telecom dot fr -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris 10 PHP Version: 5.1.1 New Comment:
Still bogus. Previous Comments: ------------------------------------------------------------------------ [2005-12-27 11:25:11] webtech at get-telecom dot fr I'm trying to re-opening the bug to have an answer... ------------------------------------------------------------------------ [2005-12-21 11:47:02] webtech at get-telecom dot fr Please sniper, answer me... The libmysqlclient is from a binary of MySQL and it is the version 4.1.16, but it's the same when compiling with 4.1.15. On the other hand, when compiling php 5.0.5 with the same MySQL 4.1.16, it works ! An explanation ??? ------------------------------------------------------------------------ [2005-12-20 13:14:39] webtech at get-telecom dot fr OK, but why is it compiling with PHP 5.0.5 and the same mysql librairies ? ------------------------------------------------------------------------ [2005-12-20 12:46:21] [EMAIL PROTECTED] This has nothing to do with _PHP_, you need to recompile the libraries you link it with. ------------------------------------------------------------------------ [2005-12-20 11:21:13] webtech at get-telecom dot fr Description: ------------ Hello, first, I want to say that I've read the two bugs #35465 and #35475 (see at the end of description). When linking with the libmysqlclient static library, libtool is unable to link the libphp5.la object (I've got thousand of lines, but here's a sample) : fclose 0x623 /db/mysql/lib/libz.a(gzio.o) fseek 0xe52 /db/mysql/lib/libz.a(gzio.o) fseek 0xf6f /db/mysql/lib/libz.a(gzio.o) fread 0x39c /db/mysql/lib/libz.a(gzio.o) fread 0x430 /db/mysql/lib/libz.a(gzio.o) fread 0x753 /db/mysql/lib/libz.a(gzio.o) fread 0x892 /db/mysql/lib/libz.a(gzio.o) qsort 0x228 /db/mysql/lib/libmysqlclient.a(my_lib.o) qsort 0x14cb /db/mysql/lib/libmysqlclient.a(ctype-simple.o) fwrite 0x334 /db/mysql/lib/libz.a(gzio.o) fwrite 0xa9d /db/mysql/lib/libz.a(gzio.o) fwrite 0xc4f /db/mysql/lib/libz.a(gzio.o) ftell 0x22c /db/mysql/lib/libz.a(gzio.o) exit 0x78 /db/mysql/lib/libmysqlclient.a(my_malloc.o) exit 0x9e5 /db/mysql/lib/libmysqlclient.a(client.o) exit 0x238 /db/mysql/lib/libmysqlclient.a(default.o) exit 0x485 /db/mysql/lib/libmysqlclient.a(default.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status I've tried the two "solutions" of the two bugs #35465 and #35475 : - the first one is to passing the option -fpic in CFLAFS variable, but it won't work for me. - and the second was to use the libtool of php 5.0.5, but link failed too : Undefined first referenced symbol in file libiconv_close ext/gd/libgd/gdkanji.lo libiconv_open ext/gd/libgd/gdkanji.lo fdatasync ext/pdo_sqlite/sqlite/src/os_unix.lo (symbol belongs to implicit dependency /lib/librt.so.1) libiconv ext/gd/libgd/gdkanji.lo ld: fatal: Symbol referencing errors. No output written to sapi/cli/php I've tried too with the snapshot of php 5.1.2 dev, but it's the same ! What can I do to compile 5.1.1 ? Thanks for your help ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35743&edit=1