ID: 21789 Comment by: shunter at venticon dot com Reported By: ron at imperators dot ca Status: Bogus Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.3.0 New Comment:
I added libstdc++ to the Makefile after running configure and did the make, make install...there was no problem with it after that. Every thing works now. I did try and do the export on the LDFLAGS, however that does not work. I added the -lstdc++ as extra libs to the makefile and it worked wonders. Previous Comments: ------------------------------------------------------------------------ [2003-01-28 00:31:16] [EMAIL PROTECTED] Not PHP bug. (further explanation in email) Use gcc 2.95.2 which is proven to work always. :) ------------------------------------------------------------------------ [2003-01-25 16:54:17] ron at imperators dot ca Thanks for the notes. The fix you described was similar to what I actually did to solve the problem, but since it was happening under Solaris 8, the solution wasn't exactly as described. I would like to suggest the addition of a flag (--enable-stdc++) to the configure script so that the same operation could be achieved more easily by any user having similar problems, regarless of platform, OS or shell. Ron. ------------------------------------------------------------------------ [2003-01-24 15:56:48] llaguno at rogers dot com Duplicate: bug 19983 Notes: fix for the libsablot.so compile errors during php-4.3.0 make: [sablotron-0.97 with php-4.3.0 on redhat linux 8.0] 1. rpm -U expat-1.95.5-1.i386.rpm 2. rpm -i sablotron-0.97-1.i386.rpm 3. rpm -i sablotron-devel-0.97-1.i386.rpm 4. rpm -e php //current version 4.2.2 5. remove the packages dependent on php-4.2.2 if preceding command fails because of dependencies 6. install httpd-2.0.44 // this fixes the error related to missing file 'instdso'. note that apache2 7. add following line to /root/.bashrc export LDFLAGS='-lstdc++' // as explained earlier in this bug report, the undefined references are in the stdc++ libraries. Pavel Hlavnicka from Ginger Alliance suggested exporting the c++ compiler flag. 7. cd /usr/local/php/php-4.3.0 8. .configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib --with-dom --with-gd --enable-xslt --with-xslt-sablot --with-sablot-js 9. make 10. make install ------------------------------------------------------------------------ [2003-01-21 07:30:51] ron at imperators dot ca Yes, Sablotron was compiled with the same version of GCC. ------------------------------------------------------------------------ [2003-01-21 01:15:41] [EMAIL PROTECTED] Was the sablot compiled also with that same GCC version? ------------------------------------------------------------------------ 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/21789 -- Edit this bug report at http://bugs.php.net/?id=21789&edit=1