Re: PHP 4 on RedHat 7

From: Date: Wed, 14 Feb 2001 04:38:25 +0000
Subject: Re: PHP 4 on RedHat 7
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-39581@lists.php.net to get a copy of this message
Mike - As root run /sbin/ldconfig -v > /tmp/libs.txt then check the /tmp/libs.txt file to ensure that xmltoc was actually found. If it's not and it is on your drive then verify the paths in /etc/ld.so.config and run /sbin/ldconfig -v again after making any changes. libxml != xmltok afaik. -- Scott On Tue, Feb 13, 2001 at 10:55:24PM -0500, Michael Stearne wrote: > That's crazy because I am doing the same exact thing right now (compile with > PDF on RH 7 and having problems.) > > Anyway PDF and everything compiles fine on RH 6.2 but I have had some problems > on 7. [snip] > Then when I try to add the pdflib options, the make dies at: > make[1]: Entering directory `/home/blaze/WebServerSources/php-4.0.4pl1' > /bin/sh /home/blaze/WebServerSources/php-4.0.4pl1/libtool --silent --mode=link > gcc -I. -I/home/blaze/WebServerSources/php-4.0.4pl1/ > -I/home/blaze/WebServerSources/php-4.0.4pl1/main > -I/home/blaze/WebServerSources/php-4.0.4pl1 -I/www/include > -I/home/blaze/WebServerSources/php-4.0.4pl1/Zend > -I/usr/local/mysql/include/mysql -I/usr/local/include > -I/home/blaze/WebServerSources/php-4.0.4pl1/ext/xml/expat/xmltok > -I/home/blaze/WebServerSources/php-4.0.4pl1/ext/xml/expat/xmlparse > -I/home/blaze/WebServerSources/php-4.0.4pl1/TSRM -DLINUX=22 -DUSE_HSREGEX > -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath > /home/blaze/WebServerSources/php-4.0.4pl1/libs -avoid-version > -L/usr/local/mysql/lib/mysql -L/usr/local/lib -R /usr/local/mysql/lib/mysql -R > /usr/local/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la > regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pdf/libpdf.la > ext/posix/libposix.la ext/sablot/libsablot.la ext/session/libsession.la > ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl > -lxmltok -lxmlparse -lsablot -lz -ljpeg -lpng -ltiff -lpdf -lmysqlclient > -lresolv -lm -ldl -lcrypt -lnsl -lresolv > /usr/bin/ld: cannot find -lxmltok > collect2: ld returned 1 exit status > make[1]: *** [libphp4.la] Error 1 > make[1]: Leaving directory `/home/blaze/WebServerSources/php-4.0.4pl1' > make: *** [all-recursive] Error 1 > > It says it cannot find xmltok, but its installed in /usr/lib where everything > else is.

« previous php.general (#39581) next »