Re: Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96
| From: | Tom Rogers | Date: | Wed, 06 Nov 2002 17:09:53 +0000 |
| Subject: | Re: Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123027@lists.php.net to get a copy of this message | ||
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
--
regards,
Tom