ID: 9531
User Update by: [EMAIL PROTECTED]
Old-Status: Bogus
Status: Open
Bug Type: Compile Failure
Description: make fails at "make ." -> /usr/bin/ld: cannot open -lxmltok

sorry to disturb you again, but I've tried different zlib and lizb rpms, they all seem 
to put some libz.so.1 into /usr/lib. However, configure tells me

configure: error: Cannot find libz

whether I try --with-zlib=/usr or --with-zlib=/usr/lib

Where am I wrong here?

(Well, I think I'm gonna write an FAQ for this kind of PHP/4 installation when I'm 
finally through this ... ;-) )

Previous Comments:
---------------------------------------------------------------------------

[2001-03-17 13:27:58] [EMAIL PROTECTED]
You pressed ctrl+c to interrupt the make process.
Please ask further install questions on [EMAIL PROTECTED] mailing list.

--Jani


---------------------------------------------------------------------------

[2001-03-17 07:46:17] [EMAIL PROTECTED]
Joy! We're getting further! :-)
But what's that:

gcc  -I. -I/home/family/php-4.0.4pl1/ext/standard -I/home/family/php-4.0.4pl1/ma
in -I/home/family/php-4.0.4pl1 -I/home/family/php-4.0.4pl1/Zend -I/home/family/l
ibxml2-2.3.3/include -I/usr/local/mysql/include -I/home/family/php-4.0.4pl1/ext/
xml/expat/xmltok -I/home/family/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/fami
ly/php-4.0.4pl1/TSRM  -DXML_BYTE_ORDER=12 -g -O2  -c crypt.c && touch crypt.lo
make[3]: *** [crypt.lo] Interrupt
make[2]: *** [all-recursive] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all-recursive] Interrupt

---------------------------------------------------------------------------

[2001-03-11 21:59:17] [EMAIL PROTECTED]
--with-zlib=/path/to/libz/install/dir

--Jani


---------------------------------------------------------------------------

[2001-03-11 17:42:08] [EMAIL PROTECTED]
o well, it would have been to nice ...

Making all in .
make[1]: Entering directory `/home/family/php-4.0.4pl1'
gcc  -I. -I/home/family/php-4.0.4pl1/ -I/home/family/php-4.0.4pl1/main -I/home/f
amily/php-4.0.4pl1 -I/home/family/php-4.0.4pl1/Zend -I/home/family/libxml2-2.3.3
/include -I/usr/local/mysql/include -I/home/family/php-4.0.4pl1/ext/xml/expat/xm
ltok -I/home/family/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/family/php-4.0.4
pl1/TSRM  -DXML_BYTE_ORDER=12 -g -O2  -c stub.c && touch stub.lo
/bin/sh /home/family/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. -I/home/
family/php-4.0.4pl1/ -I/home/family/php-4.0.4pl1/main -I/home/family/php-4.0.4pl
1 -I/home/family/php-4.0.4pl1/Zend -I/home/family/libxml2-2.3.3/include -I/usr/l
ocal/mysql/include -I/home/family/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/fami
ly/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/family/php-4.0.4pl1/TSRM  -DXML_B
YTE_ORDER=12 -g -O2   -o libphp4.la -rpath /home/family/php-4.0.4pl1/libs -L/hom
e/family/libxml2-2.3.3/lib -L/usr/local/mysql/lib  -R /home/family/libxml2-2.3.3
/lib -R /usr/local/mysql/lib stub.lo  Zend/libZend.la sapi/cgi/libsapi.la main/l
ibmain.la regex/libregex.la ext/domxml/libdomxml.la ext/mysql/libmysql.la ext/pc
re/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libst
andard.la ext/xml/libxml.la TSRM/libtsrm.la -ldl -lmysqlclient -lz -lxml -lresol
v -lm -ldl -lcrypt -lnsl -lresolv -L/home/family/libxml2-2.3.3/lib -lz
/bin/sh /home/family/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. -I/home/
family/php-4.0.4pl1/ -I/home/family/php-4.0.4pl1/main -I/home/family/php-4.0.4pl
1 -I/home/family/php-4.0.4pl1/Zend -I/home/family/libxml2-2.3.3/include -I/usr/l
ocal/mysql/include -I/home/family/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/fami
ly/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/family/php-4.0.4pl1/TSRM  -DXML_B
YTE_ORDER=12 -g -O2   -o php -export-dynamic     stub.lo libphp4.la
/usr/bin/ld: cannot open -lz: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/family/php-4.0.4pl1'
make: *** [all-recursive] Error 1

---------------------------------------------------------------------------

[2001-03-11 17:29:02] [EMAIL PROTECTED]
thanks, it seems to work (just compiling...)

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9531


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to