php installation problem "ld: fatal: Symbol referencing errors."
| From: | chuck solie | Date: | Wed, 24 Oct 2001 18:32:38 +0000 |
| Subject: | php installation problem "ld: fatal: Symbol referencing errors." | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4733@lists.php.net to get a copy of this message | ||
Hi,
I am having a problem installing php/mysql/apache on a
solaris 8 box. I get the following error during the
configure stage of php that i expect this might have
an obvious reason to someone with more gcc
configuration knowledge. I have looked at the mysql
and php sites for similar problems and followed all
the ./configure recommended options and still see this
problem. Any help would be appreciated.
the mysql install appears to run fine. i'm using gcc
2.95.3
thanks,
-chuck
debug.log
------------------------------------------------------
CONFIGURE: './configure' '--prefix=/opt/php-4.0.6'
'--with-apache=/tmp/apache_1.3.22'
'--with-config-file-path=/opt/php-4.0.6' '--with
-mysql=/opt/mysql-3.23.43' '--enable-trans-sid'
'--enable-inline-optimization'
CC: gcc
CFLAGS: -O3 -mcpu=v8 -Wa,-xarch=v8plusa
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
CXX: gcc
CXXFLAGS: -O3 -felide-constructors -fno-exceptions
-fno-rtti -mcpu=v8 -Wa,-xarch=v8plusa
INCLUDES: -I/tmp/apache_1.3.22/src/include
-I/tmp/apache_1.3.22/src/os/unix
-I$(top_builddir)/Zend
-I/opt/mysql-3.23.43/include/mysq
l
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/opt/gcc-2.95.3/lib/gcc-lib/sparc-s
un-solaris2.8/2.95.3 -R/opt/mysql-3.23.43/lib/mysql
-L/opt/mysql-3.23.43/lib/mysql
LIBS: -lmysqlclient -lcrypt -lresolv -lresolv
-lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
/opt/mysql-3.23.43/lib/mysql
uname -a: SunOS rock 5.8 Generic_108528-07 sun4u
sparc SUNW,Ultra-2
gcc -o conftest -O3 -mcpu=v8 -Wa,-xarch=v8plusa
-D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
-R/usr/ucblib -L/usr/ucblib -R/opt/gcc-2.95.
3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/opt/mysql-3.23.43/lib/mysql -L/op
t/mysql-3.23.43/lib/mysql conftest.c -lmysqlclient
-lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl
-lsocket -lsocket -lgcc 1>&5
Undefined first referenced
symbol in file
uncompress
/opt/mysql-3.23.43/lib/mysql/libmysqlclient.so
compress
/opt/mysql-3.23.43/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output
written to conftest
collect2: ld returned 1 exit status
--------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com