receiving "make[1]: *** [libphp4.la] Error 1" when trying to 'make' php-4.0.6 on i686-pc-linux-gnu (Red Hat 6.1)
| From: | Heath Schweitzer | Date: | Wed, 10 Oct 2001 02:14:24 +0000 |
| Subject: | receiving "make[1]: *** [libphp4.la] Error 1" when trying to 'make' php-4.0.6 on i686-pc-linux-gnu (Red Hat 6.1) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4579@lists.php.net to get a copy of this message | ||
I'm receiving the following error when trying to 'make' php-4.0.6 on an
i686-pc-linux-gnu (Red Hat 6.1):
> /usr/bin/ld: cannot open -linsck: No such file or directory
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/root/php/php-4.0.6'
> make: *** [all-recursive] Error 1
Just before I receive this error make tries the following:
# make[1]: Entering directory `/root/php/php-4.0.6'
> /bin/sh /root/php/php-4.0.6/libtool --silent --mode=link
gcc -I. -I/root/php/php-4.0.6/ -I/root/php/php-4.0.6/main -I/root/php/php-4
.0.6 -I/usr/local/include -I/root/php/php-4.0.6/Zend -I/usr/local/include/my
sql -I/root/php/php-4.0.6/ext/xml/expat/xmltok -I/root/php/php-4.0.6/ext/xml
/expat/xmlparse -I/root/php/php-4.0.6/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EX
PAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
/root/php/php-4.0.6/libs -avoid-version -L/usr/local/lib -L/usr/local/lib/my
sql -R /usr/local/lib -R /usr/local/lib/mysql stub.lo Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la
ext/calendar/libcalendar.la ext/domxml/libdomxml.la ext/ftp/libftp.la
ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la
TSRM/libtsrm.la -lpam -ldl -lmysqlclient -lz -lz -lxml2 -lz -lcrypt -lresolv
-lm -ldl -lnsl -lresolv
If it helps... I'm using the following 'configure' options:
./configure --prefix=/usr/local --with-mysql=/usr/local --with-apxs=/usr/loc
al/bin/apxs --enable-track-vars --enable-short-tags --enable-discard-path --
enable-calendar --with-dom=/usr/local --with-zlib-dir=/usr/local --enable-ft
p --enable-trans-sid --enable-openssl=/usr/local/ssl -with-sybase-ct=/usr/lo
cal/sybase --enable-wddx
I've tried everything I know to do and am at a loss here... Any suggestions?
Thanks,
Heath