Re: Re[6]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96
| From: | Evan Nemerson | Date: | Fri, 08 Nov 2002 08:11:07 +0000 |
| Subject: | Re: Re[6]: [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-123330@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
IT WORKS!!! Hahah yeah! It may have been a pain in the butt for _me_ to
install, but it was worth it- this is really cool!
Thanks Tom, I really owe you one.
- -Evan
On Thursday 07 November 2002 02:18 am, you wrote:
> Hi,
>
> Thursday, November 7, 2002, 6:30:17 PM, you wrote:
> EN> -----BEGIN PGP SIGNED MESSAGE-----
> EN> Hash: SHA1
>
> EN> Apache fails sanity check. Same with and without the LDFLAGS thing.
>
>
> EN> ======== Error Output for sanity check ========
> EN> cd ..; gcc -DLINUX=22 -I/usr/src/php-4.2.3 -I/usr/src/php-4.2.3/main
> EN> - -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/Zend
> -I/usr/src/php-4.2.3/Zend EN> - -I/usr/src/php-4.2.3/TSRM
> -I/usr/src/php-4.2.3/TSRM -I/usr/src/php-4.2.3 EN> - -DNO_DL_NEEDED
>
./apaci -o helpers/dummy helpers/dummy.c EN> -
> -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4 EN> -
> -L../modules/php4 -L../../modules/php4 -lmodphp4 -lsablot -lexpat -lcrypt
> EN> - -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lcrypt -lexpat EN>
> /usr/local/lib/libsablot.so: undefined reference to `operator
> new[](unsigned)' EN> /usr/local/lib/libsablot.so: undefined reference to
> `vtable for EN> __cxxabiv1::__si_class_type_info'
> EN> /usr/local/lib/libsablot.so: undefined reference to `operator
> delete(void*)' EN> /usr/local/lib/libsablot.so: undefined reference to
> `__gxx_personality_v0' EN> /usr/local/lib/libsablot.so: undefined reference
> to `__cxa_pure_virtual' EN> /usr/local/lib/libsablot.so: undefined
> reference to `vtable for EN> __cxxabiv1::__class_type_info'
> EN> /usr/local/lib/libsablot.so: undefined reference to `operator
> delete[](void*)' EN> /usr/local/lib/libsablot.so: undefined reference to
> `vtable for EN> __cxxabiv1::__vmi_class_type_info'
> EN> /usr/local/lib/libsablot.so: undefined reference to `operator
> new(unsigned)' EN> collect2: ld returned 1 exit status
> EN> make: *** [dummy] Error 1
> EN> ============= End of Error Report =============
>
> EN> On Wednesday 06 November 2002 09:49 pm, Tom Rogers wrote:
> >> Hi,
> >>
> >> Thursday, November 7, 2002, 1:11:43 PM, you wrote:
> >> EN> Same error.
> >>
> >>
> >>
> >> As a test try compiling statically into apache... That is the way I
> >> have php at the moment.
>
> EN> -----BEGIN PGP SIGNATURE-----
> EN> Version: GnuPG v1.0.7 (GNU/Linux)
>
> EN> iD8DBQE9yiSn/rncFku1MdIRAgzAAJ98rCLh9jWATOF96Liv3Lwo8SUq2gCbBci3
> EN> CngocpcfDF0Oo6+UP5B1Wcc=
> EN> =qcnu
> EN> -----END PGP SIGNATURE-----
>
> looks like you also have to do:
>
> LDFLAGS=' -lstdc++' ./configure
>
> for apache as well (although I did not have to do any of this stuff
> except for the patch)
- --
Why be born again, when you can just grow up?
- -Unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9y3Gn/rncFku1MdIRAmUTAJ46Vg0ATagguXrJKS8jnskcQDRDkwCgleFY
JxNowBqh+jvtNOLB4mS/HuM=
=zCxO
-----END PGP SIGNATURE-----