Configure problem
| From: | orlando at tvcnet dot com | Date: | Wed, 08 Nov 2000 14:45:19 +0000 |
| Subject: | Configure problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-656@lists.php.net to get a copy of this message | ||
Hello,
Platform RH6.2
[Wed Nov 8 06:41:52 2000] [notice] Apache/1.3.12 (Unix) (Red
Hat/Linux) PHP/4.0.0 ApacheJServ/1.1 mod_perl/1.23 mod_ssl/2.6.4
OpenSSL/0.9.5a configured -- resuming normal operations
I am attempting to compile php4.0.3.
I found the following error mesg in debug.log:
[root@vs03 php-4.0.3]# more debug.log
CONFIGURE: './configure' '--with-mysql=/usr' '--with-apxs'
'--with-imap' '--wi
th-db3' '--with-imap-ssl'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
-I$(top_srcdir) -I/us
r/include/imap -I/usr/include/mysql
LDFLAGS:
LIBS: -lmysqlclient -lcrypto -lssl -l -lresolv -lm -ldl -lcrypt
-lnsl -lr
esolv
DLIBS: -lc-client
SAPI: apache
PHP_RPATHS:
uname -a: Linux vs03.thevirtualcompany.com 2.2.16 #7 Fri Jun 9
12:15:07 PDT 20
00 i686 unknown
gcc -o conftest -g -O2 -DEAPI conftest.c -lmysqlclient -lcrypto -lssl
-l -lres
olv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot find -l--library=resolv
collect2: ld returned 1 exit status
I also tried to configure with zlib and get the following.
configure: error: Zlib module requires zlib >= 1.0.9.
^X
[1]+ Exit 1 ./configure --with-mysql=/usr --with-apxs
--with-imap --with-db3 --with-imap-ssl --with-zlib 1>&1LOGFILE
I do have zlib installed:
[root@vs03 php-4.0.3]# rpm -qa | grep zlib
zlib-1.1.3-6
zlib-devel-1.1.3-6
Any help would be appreciated.
Best Regards,
Orlando Castro