php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25715 ld: warning multiple definitions of symbol
Submitted: 2003-10-01 11:41 UTC Modified: 2003-10-02 10:34 UTC
From: efrangul at mac dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.4RC1 OS: Mac OS X 10.2.8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: efrangul at mac dot com
New email:
PHP Version: OS:

 

 [2003-10-01 11:41 UTC] efrangul at mac dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-02 05:29 UTC] efrangul at mac dot com
Thanks :-)

I was able to compile it.

make test is running and the result will be sent.

Thanks again

Eric
 [2003-10-02 10:34 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 06:01:32 2024 UTC