Re[2]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96
| From: | Tom Rogers | Date: | Thu, 07 Nov 2002 01:40:19 +0000 |
| Subject: | Re[2]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123090@lists.php.net to get a copy of this message | ||
Hi,
Thursday, November 7, 2002, 5:35:10 AM, you wrote:
EN> -----BEGIN PGP SIGNED MESSAGE-----
EN> Hash: SHA1
EN> Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. End
EN> result: same error. Any other ideas???
EN> On Wednesday 06 November 2002 09:09 am, you wrote:
>> Hi,
>>
>> Wednesday, November 6, 2002, 2:50:42 PM, you wrote:
>> EN> -----BEGIN PGP SIGNED MESSAGE-----
>> EN> Hash: SHA1
>>
>> EN> I'm trying to get XSLT working with PHP, and after slowly working my
>> way EN> through several other problems, I've found one that I can't figure
>> out.
>>
>> EN> Software:
>> EN> PHP 4.2.3
>> EN> Apache 1.3.27
>> EN> Sablotron 0.96
>> EN> GCC 3.2
>> EN> Linux 2.4.19-lsm1
>>
>> EN> ./configure \
>> EN> - --enable-xml \
>> EN> - --enable-xslt \
>> EN> - --enable-ftp \
>> EN> - --enable-sockets \
>> EN> - --enable-pcntl \
>> EN> - --with-apxs=/usr/local/apache/bin/apxs \
>> EN> - --with-xslt-sablot && \
>> EN> make && \
>> EN> sudo make install
>>
>> EN> Everything seems to work fine (except for a lot of
>> EN> "cc1: warning: changing search order for system directory
>> "/usr/local/include" EN> cc1: warning: as it has already been specified
>> as a non-system directory" EN> 's that appear when using gcc-3.2), but when
>> I try to
>> EN> /usr/local/apache/bin/apachectl restart, I get this:
>>
>> EN> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
>> EN> Cannot load /usr/local/apache/libexec/libphp4.so into server:
>> EN> /usr/local/lib/libsablot.so.0: undefined symbol: __gxx_personality_v0
>> EN> /usr/local/apache/bin/apachectl start: httpd could not be started
>>
>> EN> Any ideas???
>> EN> -----BEGIN PGP SIGNATURE-----
>> EN> Version: GnuPG v1.0.7 (GNU/Linux)
>>
>> EN> iD8DBQE9yJ/J/rncFku1MdIRAkhnAKClykcWMUwiWbslAYklx3xm1qsjSQCdFAXh
>> EN> roJ+kMyayqdY1UXxL6S5xuQ=
>> EN> =1Zaw
>> EN> -----END PGP SIGNATURE-----
>>
>>
>> You probably need this patch
>>
>> http://download-2.gingerall.cz/download/sablot/Sablot-0.96.1.patch
>>
>> You can also use LDFLAGS=-lstdc++ before configuring PHP
>> more info at http://php.benscom.com/manual/en/ref.xslt.php
EN> - --
EN> Jesus Christ: Imaginary Playmate to Millions of Adults!
EN> - -Unknown
EN> -----BEGIN PGP SIGNATURE-----
EN> Version: GnuPG v1.0.7 (GNU/Linux)
EN> iD8DBQE9yW8T/rncFku1MdIRAhMXAKCFp4MyUAp2/oLVIwcXS4L0utNOVgCglIPf
EN> 5qP6pDQ/mrNX+CT5pV7X6oc=
EN> =wdaO
EN> -----END PGP SIGNATURE-----
Make sure you rm config.cache in the PHP source directory then do
LDFLAGS=-lstdc++;./configure ...options
then make install ect
and in apache do ./configure again as well before making
--
regards,
Tom