[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing symbols, when compiling GDL2 on MOSX
From: |
Philip Mötteli |
Subject: |
Missing symbols, when compiling GDL2 on MOSX |
Date: |
Wed, 10 Sep 2003 10:08:31 +0200 |
Hi
I have succeeded in compiling GDL2. But when I try to link it, I have
the following undefined symbols:
ld: Undefined symbols:
_SSL_pending
_BIO_free
_BIO_new_mem_buf
_DH_check
_DH_generate_parameters
_DH_size
_ERR_get_error
_ERR_reason_error_string
_EVP_PKEY_free
_PEM_read_DHparams
_PEM_read_PrivateKey
_PEM_read_X509
_PEM_read_bio_DHparams
_SSL_CTX_ctrl
_SSL_CTX_free
_SSL_CTX_load_verify_locations
_SSL_CTX_new
_SSL_CTX_set_tmp_dh_callback
_SSL_CTX_set_verify
_SSL_CTX_set_verify_depth
_SSL_connect
_SSL_free
_SSL_get_error
_SSL_get_ex_data
_SSL_get_peer_certificate
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_ex_data
_SSL_set_fd
_SSL_shutdown
_SSL_write
_TLSv1_method
_X509_NAME_get_text_by_NID
_X509_NAME_oneline
_X509_check_private_key
_X509_free
_X509_get_subject_name
/usr/bin/libtool: internal link edit command failed
If I add libssl.dylib, the linker is still not happy:
ld: /usr/local/pgsql/lib/libpq.a(fe-secure.o) illegal reference to
symbol: _BIO_free defined in indirectly referenced dynamic library
/usr/lib/libcrypto.0.9.dylib
/usr/bin/libtool: internal link edit command failed
If I add, apart from libssl.dylib, also libcrypto.dylib, the linker
still complains:
ld: warning multiple definitions of symbol _CRYPTO_get_dynlock_value
/usr/lib/libcrypto.0.9.dylib(cryptlib.o) definition of
_CRYPTO_get_dynlock_value
/lib/libcrypto.dylib(cryptlib.o) definition of _CRYPTO_get_dynlock_value
ld: warning multiple definitions of symbol _CRYPTO_add_lock
/usr/lib/libcrypto.0.9.dylib(cryptlib.o) definition of _CRYPTO_add_lock
/lib/libcrypto.dylib(cryptlib.o) definition of _CRYPTO_add_lock
[snip, snip, snip…]
Dozens and dozens of 'multiple definitions'.
I tried to find what library to add, by looking at the Makefiles; with
no success.
Can anybody tell me, what libraries to add?
Thanks
Phil
- Missing symbols, when compiling GDL2 on MOSX,
Philip Mötteli <=