PHP 4.0 Bug #9531 Updated: make fails at "make ." -> /usr/bin/ld: cannot open -lxmltok
| From: | php at teuchi dot de | Date: | Sat, 24 Mar 2001 15:17:09 +0000 |
| Subject: | PHP 4.0 Bug #9531 Updated: make fails at "make ." -> /usr/bin/ld: cannot open -lxmltok | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49873@lists.php.net to get a copy of this message | ||
ID: 9531
User Update by: php@teuchi.de
Old-Status: Feedback
Status: Open
Bug Type: Compile Failure
Description: make fails at "make ." -> /usr/bin/ld: cannot open -lxmltok
I could not find zlib.h
also, it seems that rpm -i libz-1_1_3-4_src.rpm did not do anything (no install confirmation)
Can you send me the file and whatever will be necessary to php@teuchi.de?
Thanks in advance.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-18 18:17:15] sniper@php.net
Where is zlib.h file located in your system?
--Jani
---------------------------------------------------------------------------
[2001-03-18 06:11:57] php@teuchi.de
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 ... ;-) )
---------------------------------------------------------------------------
[2001-03-17 13:27:58] sniper@php.net
You pressed ctrl+c to interrupt the make process.
Please ask further install questions on php-install@lists.php.net mailing list.
--Jani
---------------------------------------------------------------------------
[2001-03-17 07:46:17] php@teuchi.de
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] sniper@php.net
--with-zlib=/path/to/libz/install/dir
--Jani
---------------------------------------------------------------------------
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