unable to fix this problem
| From: | Dan Gahlinger | Date: | Wed, 17 Sep 2003 17:30:22 +0000 |
| Subject: | unable to fix this problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11894@lists.php.net to get a copy of this message | ||
Solaris 9 on an E450 system
I've tried everything with gmp including the suggested -mv8plus option during compilation, and still get this error
contents of debug.log -
CONFIGURE: './configure' '--with-mysql' '--with-gd' '--with-gdbm' '--with-ftp' '--with-zlib' '--with-gmp' '--with-apxs=/usr/local/apache/bin/apxs'
CC: gcc CFLAGS: -g -O2 CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICSCXX: CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3 -R/usr/local/lib -L/usr/local/lib LIBS: -lgmp -lpng -lz -lgdbm -lz -lresolv -lm -ldl -lnsl -lsocket -lgccDLIBS:
SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3 /usr/local/libuname -a: SunOS ns5 5.9 Generic sun4u sparc SUNW,Ultra-4 Solaris gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3 -R/usr/local/lib -L/usr/local/lib conftest.c -lgmp -lpng -lz -lgdbm -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc 1>&5 ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status