Jump to content

Re: Build error php


Recommended Posts

Hi,

 

I'm trying to build php but it keeps giving me errors - configure: error: build test failed.  Please check the config.log for details

 

./configure \

--with-apxs2=/usr/local/apache2/bin/apxs \

--with-mysql

 

I running on CentOS 5 x86_64. Am I missing something? Thanks in Advanced.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/126560-re-build-error-php/
Share on other sites

Hi,

 

I have recompiled apache to enable suexec and install successfully. I have tried the php package but doesn't appear to be working and there is no libphp5.so. Now I am trying to use the php source instead to see if it works, but the build fails.

 

With the config.log, I really don't understand it, please enlighten me. Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/126560-re-build-error-php/#findComment-654525
Share on other sites

Hi guys,

 

Configuring extensions

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

checking whether to enable LIBXML support... yes

checking libxml2 install dir... no

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.

 

Sorry, this probably is the cause of the problem. Any suggestions? Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/126560-re-build-error-php/#findComment-656175
Share on other sites

  • 2 weeks later...

Hi guys,

 

Another problem came up, I have tried compiling php with mysql, here is the error message I got in config.log:

 

/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient

/usr/bin/ld: cannot find -lmysqlclient

collect2: ld returned 1 exit status

 

Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/126560-re-build-error-php/#findComment-669790
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.