Hi, the answer to your problem is listed in the FAQ page
http://www.protonicdesign.com/tutorial/faq.php#php2

Youn need to link with libstc++

Befor you compile PHP do this.

export LDFLAGS=-lstdc++

You need libstdc++ and libstdc++-dev installed

Then after simply type

make
make test
make install

Yann Larrivee
www.phpquebec.org
www.protonicdesign.com


On Mon, 2003-09-22 at 12:58, edwin lin wrote:
> I am having problems with compiling xslt with php 4.3.0.
> 1. I use all zlib, expat, iconv from sunfreeware site.
> 2. I have no problem compiling xslt. But in case you to look at it, I 
> include two file of make, and make install as attachment.
> 3. I have no problem of configure php but running into dead end with make.
> The following are errors got.
> Please help. I am running against a deadline.
> Thanks,
> Edwin
> 
> cc1: warning: changing search order for system directory 
> "/usr/local/include"
> cc1: warning:   as it has already been specified as a non-system directory
> /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2  
> -avoid-versionp
> Undefined                       first referenced
> symbol                             in file
> __cxa_pure_virtual                  /usr/local/lib/libsablot.so
> libiconv                            /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__si_class_type_info/usr/local/lib/libsablot.so
> libiconv_open                       /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__vmi_class_type_info/usr/local/lib/libsablot.so
> operator new[](unsigned)            /usr/local/lib/libsablot.so
> libiconv_close                      /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__class_type_info/usr/local/lib/libsablot.so
> operator delete(void*)              /usr/local/lib/libsablot.so
> operator new(unsigned)              /usr/local/lib/libsablot.so
> __gxx_personality_v0                /usr/local/lib/libsablot.so
> operator delete[](void*)            /usr/local/lib/libsablot.so
> ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
> 
> _________________________________________________________________
> Help protect your PC.  Get a FREE computer virus scan online from McAfee. 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Reply via email to