ID:               21058
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.2.2
 PHP Version:      4.3.0RC3
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Please add your comments to:
http://bugs.php.net/19983


Previous Comments:
------------------------------------------------------------------------

[2002-12-16 19:39:05] [EMAIL PROTECTED]

I know it's a c++ error, and I'm using gcc 3.1 that apple 
sent out...  I've tried mucking with the EXTRA_LIBS line in 
the Makefile, adding in -lstdc++.  This allowed it to 
compile, but trying to run it gave the following in the 
apache error log:

[athanor:src/build-php-4.2.3/php-4.3.0RC3] root# tail /var/
log/httpd/error_log 
__ZTVN10__cxxabiv120__si_class_type_infoE
__ZdaPv
__ZdlPv
__Znwm
___gxx_personality_v0
__ZSt9terminatev
__Znam
__ZTVN10__cxxabiv121__vmi_class_type_infoE
___cxa_pure_virtual


So... it didn't really fix it...

Any ideas?

------------------------------------------------------------------------

[2002-12-16 19:34:47] [EMAIL PROTECTED]

I'm using Sablotron 0.96.1... with expat 1.95.5

Here is my PHP configure line:

./configure --with-openssl=/usr/local --with-gd=/usr/local 
--with-gdbm --with-expat-dir=/usr/local --with-mysql=/usr/
local/mysql --enable-md5 --enable-track-vars --enable-
discard-path --with-jpeg-dir=/usr/local --with-png-dir=/
usr/local --with-tiff-dir=/usr/local --with-xml --with-
zlib=/usr/local --enable-ftp --with-freetype-dir=/usr/local 
--with-apxs=/usr/local/apache/sbin/apxs --enable-trans-sid 
--with-pdflib=/usr/local --with-curl=/usr/local  --enable-
bcmath --with-ldap=/usr/local --enable-exif --with-imap=/
usr/local --with-imap-ssl=/usr/local --enable-sockets --
with-mcrypt=/usr/local --enable-shared --enable-static --
with-iconv-dir=/usr/local --with-iconv=/usr/local --with-
xslt-sablot=/usr/local --enable-xslt

make clean
make

||...snipped out individual compiles to save some space...|
|

There were no errors reported during the compile phase, 
only problems were in the link phase...

the link line is below:

gcc -dynamic -twolevel_namespace -bundle -bundle_loader /
usr/local/apache/sbin/httpd -g -O2   -L/usr/local/lib -L/
usr/local/mysql/lib/mysql ext/zlib/zlib.o ext/zlib/
zlib_fopen_wrapper.o ext/bcmath/bcmath.o ext/bcmath/
number.o ext/bcmath/libbcmath/src/add.o ext/bcmath/
libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o ext/
bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/
outofmem.o ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/
libbcmath/src/rt.o ext/bcmath/libbcmath/src/sub.o ext/
bcmath/libbcmath/src/compare.o ext/bcmath/libbcmath/src/
divmod.o ext/bcmath/libbcmath/src/int2num.o ext/bcmath/
libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o 
ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/
sqrt.o ext/bcmath/libbcmath/src/zero.o ext/bcmath/
libbcmath/src/debug.o ext/bcmath/libbcmath/src/doaddsub.o 
ext/bcmath/libbcmath/src/nearzero.o ext/bcmath/libbcmath/
src/num2str.o ext/bcmath/libbcmath/src/raise.o ext/bcmath/
libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o 
ext/ctype/ctype.o ext/curl/curl.o ext/curl/curlstreams.o 
ext/dba/dba.o ext/dba/dba_cdb.o ext/dba/dba_db2.o ext/dba/
dba_dbm.o ext/dba/dba_gdbm.o ext/dba/dba_ndbm.o ext/dba/
dba_db3.o ext/exif/exif.o ext/ftp/php_ftp.o ext/ftp/ftp.o 
ext/gd/gd.o ext/gd/gdttf.o ext/gd/gdcache.o ext/iconv/
iconv.o ext/imap/php_imap.o ext/ldap/ldap.o ext/mcrypt/
mcrypt.o ext/mysql/php_mysql.o ext/openssl/openssl.o ext/
overload/overload.o ext/pcre/pcrelib/maketables.o ext/pcre/
pcrelib/get.o ext/pcre/pcrelib/study.o ext/pcre/pcrelib/
pcre.o ext/pcre/php_pcre.o ext/pdf/pdf.o ext/posix/posix.o 
ext/session/session.o ext/session/mod_files.o ext/session/
mod_mm.o ext/session/mod_user.o ext/sockets/sockets.o ext/
standard/array.o ext/standard/base64.o ext/standard/
basic_functions.o ext/standard/browscap.o ext/standard/
crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o 
ext/standard/datetime.o ext/standard/dir.o ext/standard/
dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/
file.o ext/standard/filestat.o ext/standard/flock_compat.o 
ext/standard/formatted_print.o ext/standard/fsock.o ext/
standard/head.o ext/standard/html.o ext/standard/image.o 
ext/standard/info.o ext/standard/iptc.o ext/standard/lcg.o 
ext/standard/link.o ext/standard/mail.o ext/standard/math.o 
ext/standard/md5.o ext/standard/metaphone.o ext/standard/
microtime.o ext/standard/pack.o ext/standard/pageinfo.o 
ext/standard/parsedate.o ext/standard/quot_print.o ext/
standard/rand.o ext/standard/reg.o ext/standard/soundex.o 
ext/standard/string.o ext/standard/scanf.o ext/standard/
syslog.o ext/standard/type.o ext/standard/uniqid.o ext/
standard/url.o ext/standard/url_scanner.o ext/standard/
var.o ext/standard/versioning.o ext/standard/assert.o ext/
standard/strnatcmp.o ext/standard/levenshtein.o ext/
standard/incomplete_class.o ext/standard/url_scanner_ex.o 
ext/standard/ftp_fopen_wrapper.o ext/standard/
http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/
standard/credits.o ext/standard/css.o ext/standard/
var_unserializer.o ext/standard/ftok.o ext/standard/
aggregation.o ext/standard/sha1.o ext/tokenizer/tokenizer.o 
ext/xml/xml.o ext/xslt/xslt.o ext/xslt/sablot.o regex/
regcomp.o regex/regexec.o regex/regerror.o regex/regfree.o 
TSRM/TSRM.o TSRM/tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o 
main/main.o main/snprintf.o main/spprintf.o main/
php_sprintf.o main/safe_mode.o main/fopen_wrappers.o main/
alloca.o main/php_ini.o main/SAPI.o main/rfc1867.o main/
php_content_types.o main/strlcpy.o main/strlcat.o main/
mergesort.o main/reentrancy.o main/php_variables.o main/
php_ticks.o main/streams.o main/network.o main/
php_open_temporary_file.o main/php_logos.o main/output.o 
main/memory_streams.o main/user_streams.o Zend/
zend_language_parser.o Zend/zend_language_scanner.o Zend/
zend_ini_parser.o Zend/zend_ini_scanner.o Zend/zend_alloc.o 
Zend/zend_compile.o Zend/zend_constants.o Zend/
zend_dynamic_array.o Zend/zend_execute_API.o Zend/
zend_highlight.o Zend/zend_llist.o Zend/zend_opcode.o Zend/
zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o 
Zend/zend_variables.o Zend/zend.o Zend/zend_API.o Zend/
zend_extensions.o Zend/zend_hash.o Zend/zend_list.o Zend/
zend_indent.o Zend/zend_builtin_functions.o Zend/
zend_sprintf.o Zend/zend_ini.o Zend/zend_qsort.o Zend/
zend_multibyte.o Zend/zend_execute.o sapi/apache/
sapi_apache.o sapi/apache/mod_php4.o sapi/apache/
php_apache.o main/internal_functions.o  -lcrypto -lssl -lc-
client4 -lsablot -liconv -lexpat -lexpat -lpdf -lz -ltiff -
lpng -ljpeg -lmysqlclient -lmcrypt -lltdl -lldap -llber -
lpam -liconv -lgd -lfreetype -lpng -lz -ljpeg -lgdbm -lcurl 
-lz -lssl -lcrypto -lm -ldl -lcurl -lssl -lcrypto -ldl  -o 
libs/libphp4.bundle && cp libs/libphp4.bundle libs/
libphp4.so
ld: warning multiple definitions of symbol _dlclose
/usr/local/apache/sbin/httpd definition of _dlclose
/usr/local/lib/libdl.dylib(dlopen.o) definition of _dlclose
ld: warning multiple definitions of symbol _dlsym
/usr/local/apache/sbin/httpd definition of _dlsym
/usr/local/lib/libdl.dylib(dlopen.o) definition of _dlsym
ld: warning multiple definitions of symbol 
_png_create_read_struct_2
/usr/local/lib/libpng.dylib(pngread.pic.o) definition of 
_png_create_read_struct_2
/usr/local/lib/libpdf.dylib(pngread.lo) definition of 
_png_create_read_struct_2
ld: warning multiple definitions of symbol 
_png_destroy_struct_2
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_destroy_struct_2
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_destroy_struct_2
ld: warning multiple definitions of symbol _png_set_mem_fn
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_set_mem_fn
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_set_mem_fn
ld: warning multiple definitions of symbol 
_png_free_default
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_free_default
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_free_default
ld: warning multiple definitions of symbol _png_get_mem_ptr
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_get_mem_ptr
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_get_mem_ptr
ld: warning multiple definitions of symbol 
_png_malloc_default
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_malloc_default
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_malloc_default
ld: warning multiple definitions of symbol 
_png_create_struct_2
/usr/local/lib/libpng.dylib(pngmem.pic.o) definition of 
_png_create_struct_2
/usr/local/lib/libpdf.dylib(pngmem.lo) definition of 
_png_create_struct_2
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete[](void*)
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
std::terminate()
operator new[](unsigned long)
vtable for __cxxabiv1::__vmi_class_type_info
___cxa_pure_virtual
make: *** [libs/libphp4.bundle] Error 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21058&edit=1

Reply via email to