Re: debug.log from anoop.nu

From: Date: Sat, 04 Aug 2001 22:15:59 +0000
Subject: Re: debug.log from anoop.nu
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3835@lists.php.net to get a copy of this message
For the 100th time: --with-zlib (reading the mailing list archives would have given you this answer..) --Jani On Sat, 4 Aug 2001 anoop@anoop.nu wrote: >Hello, > >I had problems installing php. A copy of the debug.log is below. I ignored >the error that was given when ./configure ran and continued with the >install. > >----- debug.log ----- >CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' >'--with-apxs=/usr/local/apache/bin/apxs' >CC: gcc >CFLAGS: -g -O2 >CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_DL_N >EEDED -DSUPPORT_UTF8 >CXX: >CXXFLAGS: >INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend -I/usr/loca >l/mysql/include/mysql >LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun- >solaris2.7/2.95.3 -L/usr/local/lib/gcc-lib/sparc-s >un-solaris2.7/2.95.3 -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mys >ql >LIBS: -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket > -lsocket -lgcc >DLIBS: >SAPI: apache >PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 >/usr/local/mysql/lib/mysql >uname -a: SunOS gtp 5.7 Generic_106541-06 sun4m sparc SUNW,SPARCstation-20 > >gcc -o >conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_ >DL_NEEDED -DSUPPORT_UTF8 -R/usr/ucblib -L/ >usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -L/usr/local >/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -R/usr/lo >cal/mysql/lib/mysql -L/usr/local/mysql/lib/mysql >conftest.c -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket >- >lsocket -lgcc 1>&5 >Undefined first referenced > symbol in file >uncompress >/usr/local/mysql/lib/mysql/libmysqlclient.so >compress >/usr/local/mysql/lib/mysql/libmysqlclient.so >ld: fatal: Symbol referencing errors. No output written to conftest >collect2: ld returned 1 exit status >----- end ----- > >I ignored the error and continued. When the install completed, i followed >the instructions and copied php.ini-dist to /usr/local/lib/php.ini and made >no changes to it. i uncommented httpd.conf to allow php 4. the Load module >line is there. The error produced from starting apache is below. > >----- apache error ----- ># apachectl configtest >Syntax error on line 34 of /usr/local/apache/conf/httpd.conf: >Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: >/usr/local/apache/bin/httpd: fatal: relocation error: file >/usr/local/mysql/lib/mysql/libmysqlclient.so.10: symbol uncompress: >referenced symbol not found ># >----- end ----- > >The setup for my machine is described below. > >Sparc 20 w/ Solaris 2.7 >Apache 1.3.20 in /usr/local/apache >mysql 3.23.40 in /usr/local/mysql >php 4.0.6 > >the options i used with configure script were --with-mysql=/usr/local/mysql >and --with-apxs=/usr/local/apache/bin/apxs > >I'd appreciate any feed back on this problem. The ultimate goal here for me >is to get a webmail working which needed PHP. I also wanted to install php >to learn it. If anyone requires more information, i will be glad to provide >it. > >Thanks > >-Anoop Bhat >anoop@anoop.nu > > >

« previous php.install (#3835) next »