mmcdonnell Posted June 2, 2006 Share Posted June 2, 2006 I'm trying to install PHP 5.1.4 on RedHat(e) Enterprise 3I'm having a very difficult time getting ./configure to work.Here's what I'm doing so far:[code]./configure --with-apxs2=/usr/local/apache/bin/apxs --disable-cgi --with-config-file-path=/usr/local/apache/php --enable-force-cgi-redirect --disable-short-tags [b]--with-libxml-dir=/usr[/b] --with-openssl --with-zlib --enable-calendar --with-curl --with-mysql --with-mysqli --enable-soap[/code]And this is what I get at the very end:[code]Configuring extensionschecking whether to enable LIBXML support... yeschecking libxml2 install dir... /usrchecking for xml2-config path... /usr/bin/xml2-configchecking whether libxml build works... noconfigure: error: build test failed. Please check the config.log for details.[/code]In config.log I get this:[code]configure:27282: checking whether to enable LIBXML supportconfigure:27320: result: yesconfigure:27329: checking libxml2 install dirconfigure:27347: result: /usrconfigure:27359: checking for xml2-config pathconfigure:27373: result: /usr/bin/xml2-configconfigure:27516: checking whether libxml build worksconfigure:27549: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm >&5/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__memcpy_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__memmove_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__vfprintf_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__fprintf_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__strcat_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__snprintf_chk@GLIBC_2.3.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libxml2.so: undefined reference to `__vsnprintf_chk@GLIBC_2.3.4'collect2: ld returned 1 exit status[/code]not that I mean to be a complete n00b... but I'm really lost, and I don't understand how to fix this error.Any help you can offer would be fantastic!Thanks to all for the help if I get it!Michael Quote Link to comment https://forums.phpfreaks.com/topic/11059-php-installation-woes/ Share on other sites More sharing options...
mmcdonnell Posted June 5, 2006 Author Share Posted June 5, 2006 Solved!The problem has to do with the way the LibXML2 RPMs work.... it had to be installed from the tar.gz file to work correctly. Quote Link to comment https://forums.phpfreaks.com/topic/11059-php-installation-woes/#findComment-42031 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.