Jump to content

Php Installation Woes


Recommended Posts

I'm trying to install PHP 5.1.4 on RedHat(e) Enterprise 3
I'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 extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: 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 support
configure:27320: result: yes
configure:27329: checking libxml2 install dir
configure:27347: result: /usr
configure:27359: checking for xml2-config path
configure:27373: result: /usr/bin/xml2-config
configure:27516: checking whether libxml build works
configure: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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.