ID: 40310
Updated by: [EMAIL PROTECTED]
Reported By: sjohns at nerfarena dot org
Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris/SPARC V10
PHP Version: 5.2.0
Assigned To: tony2001
New Comment:
The error message states that v4 libraries are used instead of v5
(ext/mysql compiles/works fine because it does not user these new
functions used in ext/mysqli).
Try to specify full path to mysql_config in --with-mysqli or move v5
libraries to some other place, so they won't be mixed with v4.
Previous Comments:
------------------------------------------------------------------------
[2007-02-06 00:05:15] sjohns at nerfarena dot org
The reason for the duplication of the mysql libraries is that Solaris
includes a v4 but I need V5 and have installed these. However I was
prevented from immediately removing the old version since there are
some apps which are linked to these old libraries. None the less, the
path that I passed to configure is for the v5 mysql libraries so I
don't see why this should be a problem.
------------------------------------------------------------------------
[2007-02-05 22:43:19] [EMAIL PROTECTED]
See my previous comment =)
------------------------------------------------------------------------
[2007-02-05 22:39:51] sjohns at nerfarena dot org
My suspicion was correct, it will build if I do not enable mysqli
support.
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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