ID: 41699 User updated by: webtech at get-telecom dot fr Reported By: webtech at get-telecom dot fr -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Solaris 10 (AMD64) PHP Version: 5.2.3 New Comment:
You're right, I just add "-m64" in CFLAGS and LDFLAGS variables and now it compiles. The only problem is that when I configured compilation, I had no error messages, only when I took a look in config.log... Thanks for your help. Previous Comments: ------------------------------------------------------------------------ [2007-06-27 13:45:12] [EMAIL PROTECTED] ./configure fails to detect this because of the problem below: configure:52817: gcc -o conftest -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include -L/usr/lib -L/usr/pkg/lib -R/usr/ucblib -L/usr/ucblib -R/opt/gcc412/lib/gcc/i386-pc-solaris2.10/4.1.2 -L/opt/gcc412/lib/gcc/i386-pc-solaris2.10/4.1.2 -R/usr/pkg/lib -L/usr/pkg/lib -R/usr/pkg//lib -L/usr/pkg//lib conftest.c -lldap -llber -lgd -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -lnsl -lsocket -lgcc -lxml2 -lz -lm -lsocket -lnsl -lcurl -lidn -lssl -lcrypto -lsocket -lnsl -lz -lxml2 -lz -lm -lsocket -lnsl 1>&5 ld: fatal: file /usr/pkg/lib/liblber.so: wrong ELF class: ELFCLASS64 ld: fatal: file /usr/pkg/lib/libgd.so: wrong ELF class: ELFCLASS64 ld: fatal: file /usr/pkg/lib/libcurl.so: wrong ELF class: ELFCLASS64 ld: fatal: file /usr/pkg/lib/libcurl.so: wrong ELF class: ELFCLASS64 ld: fatal: file /usr/pkg/lib/libidn.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status Looks like you put 64bit libraries to wrong place. ------------------------------------------------------------------------ [2007-06-27 13:27:34] webtech at get-telecom dot fr OK, you can have a look at perso.enst.fr/~allain/phptemp/config.log ------------------------------------------------------------------------ [2007-06-27 11:47:06] [EMAIL PROTECTED] Please put your config.log somewhere so that I can take a look at it. ------------------------------------------------------------------------ [2007-06-21 14:13:43] webtech at get-telecom dot fr No, no CFLASGS / CPPFLAGS variable are set. My defaut compiler is gcc3. In order to use gcc4, I've added at the beginning of the PATH variable : $gcc4_home/bin:$gcc4_home/include:$gcc4_home/lib ------------------------------------------------------------------------ [2007-06-21 13:39:00] [EMAIL PROTECTED] Do you have some CFLAGS / CPPFLAGS set before running configure / make ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41699 -- Edit this bug report at http://bugs.php.net/?id=41699&edit=1