ID: 40310 User updated by: sjohns at nerfarena dot org Reported By: sjohns at nerfarena dot org -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Solaris/SPARC V10 PHP Version: 5.2.0 Assigned To: tony2001 New Comment:
My suspicion was correct, it will build if I do not enable mysqli support. Previous Comments: ------------------------------------------------------------------------ [2007-02-05 22:39:09] [EMAIL PROTECTED] You have some mess with mysql libraries in your system Some of them are in /usr/local/mysq/lib, the others are in in /usr/local/lib/mysql. For some reason there are two xml2-config's and probably two libxml2.so etc. So it looks to me that the linking problems are not PHP issues. Feel free to reopen the report, though, if you have some more information about it (or if you make the machine to run a bit faster - waiting for PHP build for 3 hours is a _pain_). ------------------------------------------------------------------------ [2007-02-05 21:28:05] sjohns at nerfarena dot org Hi Tony, I have no clue how that could have happened. I have never attempted to build without using the option flags that I have listed in the original bug report. Believe me, it won't build. Also, there appears to be nothing that I can do about libxml2 at the moment since the project website is down so I cannot obtain the source. I have a suspicion that the problem lies with enabling mysqli support, so I am attempting to build without enabling this option. So far the build looks good, and has already gone well past the point where it failed before. However, I need the new extensions that mysqli provides so I need a solution to this. Do you have any insite into what could be the problem? ------------------------------------------------------------------------ [2007-02-05 20:09:39] [EMAIL PROTECTED] But the config.nice file in php-5.2.0 contained just "./configure". ------------------------------------------------------------------------ [2007-02-05 19:47:29] sjohns at nerfarena dot org >you were using just"./configure"?? As per the original bug report, my configuration is as below. This is considerably more than just running configure with no options. ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-libgcc \ --with-openssl=yes \ --with-openssl-dir=/usr/local/ssl \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-freetype-dir=/usr/local/lib \ --with-xpm-dir=/usr/lib --with-mysql-sock=/tmp/mysql.sock \ --enable-ftp \ --with-mysql \ --with-mysql=/usr/local/mysql \ --with-mysqli \ --with-zlib \ --with-zlib=/usr/include \ --disable-ipv6 ------------------------------------------------------------------------ [2007-02-05 19:34:06] [EMAIL PROTECTED] >Are you sure that you used the same configuration flags that I did? I'm sure I used different options, because you were using just "./configure". That apparently would not work, because the libxml2 version available on this machine is lower than the required one. >The build fails at the same point that it did before "at the same point"?! It's completely different point. >however it is now complaining about symbol referencing errors: Looks like a problem with libmysqlclient to me. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40310 -- Edit this bug report at http://bugs.php.net/?id=40310&edit=1