From:             efrangul at mac dot com
Operating system: Mac OS X 10.2.8
PHP version:      4.3.4RC1
PHP Bug Type:     Compile Failure
Bug description:  ld: warning multiple definitions of symbol

Description:
------------
I have compiled version 4.3.3 with the same configure
parameter and it worked through.

Apache version 2.0.47
MySQL Standard 4.1.0
gd version 2.0.15
Java version 1.4.1_01
Freetype version 2.1.5
Oracle version 9.2.0.1.0

Reproduce code:
---------------
./configure --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-gd=/usr/local/gd --with-openssl=/usr
--with-xml --enable-exif --enable-ftp --enable-sockets --with-sysvshm
--with-sysvsem --enable-safe-mode --enable-track-vars
--enable-magic-quotes --enable-bcmath --enable-memory-limit=yes
--with-kerberos=/usr --with-yp --enable-wddx --enable-shmop
--enable-trans-sid --with-tsrm-pthreads --enable-calendar --with-zlib
--with-java=/System/Library/Frameworks/JavaVM.framework/Home --with-oracle
--with-freetype-dir=/usr/local/lib

Expected result:
----------------
To link fine.

Actual result:
--------------
ld: warning multiple definitions of symbol _pcre_free
ext/pcre/pcrelib/pcre.o definition of _pcre_free in 
section (__DATA,__data)
/usr/local/apache-2.0.47/bin/httpd definition of 
_pcre_free
ld: warning multiple definitions of symbol _pcre_malloc
ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in 
section (__DATA,__data)
/usr/local/apache-2.0.47/bin/httpd definition of 
_pcre_malloc
ld: warning multiple definitions of symbol 
_XML_SetSkippedEntityHandler
ext/xml/expat/xmlparse.o definition of 
_XML_SetSkippedEntityHandler in section (__TEXT,__text)
/usr/local/lib/libexpat.dylib(xmlparse.lo) definition 
of _XML_SetSkippedEntityHandler
ld: warning multiple definitions of symbol _regcomp
/usr/local/apache-2.0.47/bin/httpd definition of 
_regcomp
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/usr/local/apache-2.0.47/bin/httpd definition of 
_regexec
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/usr/local/apache-2.0.47/bin/httpd definition of 
_regfree
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: warning multiple definitions of symbol _dlerror
/usr/local/lib/libdl.dylib(dlfcn.o) definition of 
_dlerror
/oracle/9.2.0.1.0/lib/libclntsh.dylib(dlopen.o) 
definition of _dlerror
ld: warning multiple definitions of symbol _dlopen
/usr/local/lib/libdl.dylib(dlfcn.o) definition of 
_dlopen
/oracle/9.2.0.1.0/lib/libclntsh.dylib(dlopen.o) 
definition of _dlopen
ld: Undefined symbols:
_ASN1_INTEGER_get
_ASN1_INTEGER_set
_ASN1_STRING_set_default_mask_asc
_BIO_ctrl
_BIO_free
_BIO_new
_BIO_new_file
_BIO_new_mem_buf
_BIO_printf
_BIO_s_mem
_CONF_free
_CONF_get_number
_CONF_get_section
_CONF_get_string
_CONF_load
_ERR_error_string
_ERR_get_error
_ERR_load_ERR_strings
_ERR_load_EVP_strings
_ERR_load_SSL_strings
_ERR_load_crypto_strings
_EVP_DecryptUpdate
_EVP_DigestInit
_EVP_DigestUpdate
_EVP_EncryptInit
_EVP_EncryptUpdate
_EVP_OpenFinal
_EVP_OpenInit
_EVP_PKEY_assign
_EVP_PKEY_copy_parameters
_EVP_PKEY_free
_EVP_PKEY_new
_EVP_PKEY_size
_EVP_SealFinal
_EVP_SealInit
_EVP_SignFinal
_EVP_VerifyFinal
_EVP_cleanup
_EVP_des_ede3_cbc
_EVP_get_digestbyname
_EVP_md5
_EVP_rc2_40_cbc
_EVP_rc4
_EVP_sha1
_OBJ_create
_OBJ_create_objects
_OBJ_nid2ln
_OBJ_nid2sn
_OBJ_obj2nid
_OBJ_txt2nid
_OpenSSL_add_all_algorithms
_OpenSSL_add_all_ciphers
_OpenSSL_add_all_digests
_PEM_ASN1_read_bio
_PEM_X509_INFO_read_bio
_PEM_read_bio_PUBKEY
_PEM_read_bio_PrivateKey
_PEM_read_bio_X509
_PEM_read_bio_X509_REQ
_PEM_write_bio_PrivateKey
_PEM_write_bio_X509
_PEM_write_bio_X509_REQ
_PKCS7_decrypt
_PKCS7_encrypt
_PKCS7_free
_PKCS7_get0_signers
_PKCS7_sign
_PKCS7_verify
_RAND_egd
_RAND_file_name
_RAND_load_file
_RAND_status
_RAND_write_file
_RSA_generate_key
_RSA_private_decrypt
_RSA_private_encrypt
_RSA_public_decrypt
_RSA_public_encrypt
_SMIME_read_PKCS7
_SMIME_write_PKCS7
_SSL_CTX_check_private_key
_SSL_CTX_load_verify_locations
_SSL_CTX_set_default_passwd_cb
_SSL_CTX_set_default_passwd_cb_userdata
_SSL_CTX_set_verify
_SSL_CTX_set_verify_depth
_SSL_CTX_use_PrivateKey_file
_SSL_CTX_use_certificate_chain_file
_SSL_free
_SSL_get_certificate
_SSL_get_ex_data
_SSL_get_ex_data_X509_STORE_CTX_idx
_SSL_get_ex_new_index
_SSL_get_privatekey
_SSL_get_verify_result
_SSL_new
_SSL_set_ex_data
_X509V3_EXT_REQ_add_conf
_X509V3_EXT_add_conf
_X509V3_set_conf_lhash
_X509V3_set_ctx
_X509_INFO_free
_X509_LOOKUP_ctrl
_X509_LOOKUP_file
_X509_LOOKUP_hash_dir
_X509_NAME_ENTRY_get_data
_X509_NAME_ENTRY_get_object
_X509_NAME_add_entry_by_NID
_X509_NAME_add_entry_by_txt
_X509_NAME_entry_count
_X509_NAME_get_entry
_X509_NAME_get_index_by_NID
_X509_NAME_get_text_by_NID
_X509_PURPOSE_get0
_X509_PURPOSE_get0_name
_X509_PURPOSE_get0_sname
_X509_PURPOSE_get_count
_X509_PURPOSE_get_id
_X509_REQ_add1_attr_by_txt
_X509_REQ_free
_X509_REQ_get_attr_by_NID
_X509_REQ_get_pubkey
_X509_REQ_new
_X509_REQ_print
_X509_REQ_set_pubkey
_X509_REQ_set_version
_X509_REQ_sign
_X509_REQ_verify
_X509_STORE_CTX_free
_X509_STORE_CTX_get_current_cert
_X509_STORE_CTX_get_error
_X509_STORE_CTX_get_error_depth
_X509_STORE_CTX_get_ex_data
_X509_STORE_CTX_init
_X509_STORE_CTX_new
_X509_STORE_CTX_set_error
_X509_STORE_CTX_set_purpose
_X509_STORE_add_lookup
_X509_STORE_free
_X509_STORE_new
_X509_alias_get0
_X509_check_private_key
_X509_check_purpose
_X509_dup
_X509_free
_X509_get_default_cert_area
_X509_get_issuer_name
_X509_get_pubkey
_X509_get_serialNumber
_X509_get_subject_name
_X509_gmtime_adj
_X509_new
_X509_print
_X509_set_issuer_name
_X509_set_pubkey
_X509_set_subject_name
_X509_set_version
_X509_sign
_X509_subject_name_hash
_X509_verify_cert
_X509_verify_cert_error_string
_d2i_X509
_sk_free
_sk_new_null
_sk_num
_sk_pop_free
_sk_push
_sk_shift
_sk_value
_SSL_CTX_free
_SSL_CTX_new
_SSL_connect
_SSL_copy_session_id
_SSL_read
_SSL_set_fd
_SSL_shutdown
_SSL_write
_SSLv23_client_method
_TLSv1_client_method
_SSLv23_method
_ERR_error_string_n
_ERR_peek_error
_SSL_get_error
_SSL_get_peer_certificate
_SSL_peek
_SSL_pending
_SSL_set_connect_state
make: *** [libs/libphp4.bundle] Error 1


-- 
Edit bug report at http://bugs.php.net/?id=25715&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25715&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25715&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25715&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25715&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25715&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25715&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25715&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25715&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25715&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25715&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25715&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25715&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25715&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25715&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25715&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25715&r=float

Reply via email to