php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26358 Sablotron Module failed
Submitted: 2003-11-22 08:45 UTC Modified: 2003-11-22 20:19 UTC
From: v_santhanam at amrita dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.4 OS: Redhat Linux 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: v_santhanam at amrita dot edu
New email:
PHP Version: OS:

 

 [2003-11-22 08:45 UTC] v_santhanam at amrita dot edu
Description:
------------
When i make i get the following error :
-------------------------------------------------
/usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
----------------------------------------


For your kind information i have compiled the same modules with PHP 4.3.4RC3 .I have also tried adding -lstdc++ in EXTRA_LDFLAGS line.It didnot help.

Please help me
Thanks in Advance


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-22 11:39 UTC] v_santhanam at amrita dot edu
I have tried with 
"export LDFLAGS=-lstdc++"
make
make install
Now it works well.

Apart from js package, i have also installed js-devel package. as well as i used
'--enable-libgcc' '--with-iconv' '--with-sablotron' '--with-xslt-sablot' '--enable-xslt' '--with-sablot-js'  apart from other options
 [2003-11-22 20:19 UTC] sniper@php.net
Search before submit. (already reported couple of dozen times..)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Oct 12 03:00:01 2025 UTC