I am not certain when the libstdc was installed. My guess would be it was part of libol. Below is a list of the other software that was installed prior to my PHP install. Perhaps it was included with one of the packages below.

autoconf-2.57-sol8-intel-local.gz
automake-1.7.2-sol8-intel-local.gz
bison-1.75-sol8-intel-local.gz
flex-2.5.4a-sol8-intel-local.gz
gcc-3.3-sol8-intel-local.gz
httpd-2.0.47.tar.gz
libol-0.3.11+20030915.tar.gz
m4-1.4-sol8-intel-local.gz
make-3.80-sol8-intel-local.gz
mysql-standard-4.0.15-pc-solaris2.8-i386.tar.gz
perl-5.8.0.tar.gz
php-4.3.3.tar.gz
pkgconfig-0.15.0-sol8-intel-local.gz
syslog-ng-1.5.26.tar.gz
zlib-1.1.4-sol8-intel-local.gz

-Ken



From: "edwin lin" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-INSTALL] Help --- xslt installation with php 4.3.0
Date: Tue, 23 Sep 2003 22:01:12 +0000


Where can you get libstdc++-dev? Thanks, Edwin

From: "Kenneth Webber" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP-INSTALL] Help --- xslt installation with php 4.3.0
Date: Tue, 23 Sep 2003 16:35:23 +0000

It is working. Yann you were a big help.

For the record and anyone who gets this issue, this is what I ran:

mv config.cache config.cache.bak
/usr/local/bin/make clean
env LDFLAGS=-lstdc++
../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
/usr/local/bin/make
/usr/local/bin/make install


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



_________________________________________________________________
Instant message during games with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com

Reply via email to