This is a discussion on PHP build problem within the PHP Language forums, part of the PHP Programming Forums category; Dear all, downloaded PHP 4.3.2 for installation on Sun Solaris 7, using gcc and GNU's make 3....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dear all,
downloaded PHP 4.3.2 for installation on Sun Solaris 7, using gcc and GNU's make 3.8 and alternatively the make that comes with Solaris (/usr/ccs/bin/make). ../configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql=/usr/local/mysql No problems reported. make It runs and when linking it stops with: Undefined symbol First referenced in file mysql_character_set_name ext/mysql/php_mysql.lo mysql_real_escape_string ext/mysql/php_mysql.lo ld: fatal: Symbol referencing errors. No output written to sapi/cli/php make: *** [sapi/cli/php] Error 1 As 4.3.2 is quite new, I then downloaded 4.3.1, but the same problem appeared. Then I tried if the compilation of PHP 4.1.2 still works on my system (removed config.cache), and it does. No problems when building PHP 4.1.2. But I urgently want to do the upgrade for security and other reasons. Thank you very much for any good idea. Tony |
|
|||
|
Tony Muler wrote:
> Dear all, > > downloaded PHP 4.3.2 for installation on Sun Solaris 7, > using gcc and GNU's make 3.8 and alternatively the > make that comes with Solaris (/usr/ccs/bin/make). > > ./configure \ > --with-apxs=/usr/local/apache/bin/apxs \ > --with-mysql=/usr/local/mysql > > No problems reported. > > make > > It runs and when linking it stops with: > > Undefined symbol First referenced in file > mysql_character_set_name ext/mysql/php_mysql.lo > mysql_real_escape_string ext/mysql/php_mysql.lo > > ld: fatal: Symbol referencing errors. No output > written to sapi/cli/php > make: *** [sapi/cli/php] Error 1 > > > As 4.3.2 is quite new, I then downloaded 4.3.1, but > the same problem appeared. > > Then I tried if the compilation of PHP 4.1.2 still > works on my system (removed config.cache), and it > does. No problems when building PHP 4.1.2. > But I urgently want to do the upgrade for security > and other reasons. > > Thank you very much for any good idea. > > Tony > > > I know it's not much help, but I had similar troubles when upgrading, the verion I had upgraded to just wouldn't work at all, when the older version did. That was with the Windows pre-compiled binaries too, so I know it wasn't due to my compilation. You may not be able to run that version, maybe because of a small bug that wasn't found that affects your system. I just went to 4.3.2 on Linux yesterday, and so far no trouble. -- --------------nonoffensive sig.v2.2RC2?------------------------ - jayjwa 4 Spammers: mailto: listme@listme.dsbl.org The New Atr2. PGP/GPG Keys onsite "Why do all the noob's use RedHat, speak 4th grade English, and cry because their X server crashed?" Send HTTP1.1 GET to /cgi-bin/ping-jay.cgi, my domain, 2 mail ==Atr2.Ath.Cx: Linux Tough, Powered by Slackware.============= |
|
|||
|
jayjwa wrote:
> I know it's not much help, but I had similar troubles when upgrading, > the verion I had upgraded to just wouldn't work at all, when the older > version did. That was with the Windows pre-compiled binaries too, so I > know it wasn't due to my compilation. You may not be able to run that > version, maybe because of a small bug that wasn't found that affects > your system. I just went to 4.3.2 on Linux yesterday, and so far no > trouble. As 4.3.2 does not build for me, I guess I will have to go back until I find a version that works for me ;-) T. |
|
|||
|
Tony Muler wrote:
> jayjwa wrote: > >> I know it's not much help, but I had similar troubles when upgrading, >> the verion I had upgraded to just wouldn't work at all, when the older >> version did. That was with the Windows pre-compiled binaries too, so I >> know it wasn't due to my compilation. You may not be able to run that >> version, maybe because of a small bug that wasn't found that affects >> your system. I just went to 4.3.2 on Linux yesterday, and so far no >> trouble. > > > As 4.3.2 does not build for me, I guess I will have to go back > until I find a version that works for me ;-) > > T. > > That's what I had to do too, until I moved to Linux > But I urgently want to do the upgrade for security > and other reasons. I dont' think security's a big worry really, I haven't seen many examples of PHP being exploited. Maybe you could have someone compile it for you, that has the same type system as yours? Maybe a header file or something got corrupted from your source code lib... -- --------------nonoffensive sig.v2.2RC2?------------------------ - jayjwa 4 Spammers: mailto: listme@listme.dsbl.org The New Atr2. PGP/GPG Keys onsite "Why do all the noob's use RedHat, speak 4th grade English, and cry because their X server crashed?" Send HTTP1.1 GET to /cgi-bin/ping-jay.cgi, my domain, 2 mail ==Atr2.Ath.Cx: Linux Tough, Powered by Slackware.============= |