Re: libcrypto.so.3 problem building world with kerberos

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sun, 24 Jul 2005 15:24:00 -0400
On Sat, Jul 23, 2005 at 12:40:52PM -0700, Sean McNeil wrote:
> I get the following error during build:
> 
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.3, needed
> by /usr/local/lib/libldap.so, not found (try using -rpath or
> -rpath-link)
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.3, needed
> by /usr/local/lib/libldap.so, not found (try using -rpath or
> -rpath-link)
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_tmp_rsa_callback'/usr/local/lib/libldap.so: undefined
> reference to `ssl3_send_alert'
> /usr/local/lib/libldap.so: undefined reference to `SSL_CTX_free'
> /usr/local/lib/libldap.so: undefined reference to `SSL_shutdown'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_load_client_CA_file'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_default_verify_paths'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_session_id_context'
> /usr/local/lib/libldap.so: undefined reference to `SSL_get_error'
> /usr/local/lib/libldap.so: undefined reference to `SSL_read'
> /usr/local/lib/libldap.so: undefined reference to `SSL_new'
> /usr/local/lib/libldap.so: undefined reference to `SSL_CTX_new'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_add_dir_cert_subjects_to_stack'
> /usr/local/lib/libldap.so: undefined reference to `SSL_library_init'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_load_verify_locations'
> /usr/local/lib/libldap.so: undefined reference to `SSL_pending'
> /usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_verify'
> /usr/local/lib/libldap.so: undefined reference to `SSL_set_bio'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_load_error_strings'
> /usr/local/lib/libldap.so: undefined reference to `SSL_get_certificate'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_cipher_list'
> /usr/local/lib/libldap.so: undefined reference to `SSL_accept'
> /usr/local/lib/libldap.so: undefined reference to `SSL_version'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_get_current_cipher'
> /usr/local/lib/libldap.so: undefined reference to `SSL_CIPHER_get_bits'
> /usr/local/lib/libldap.so: undefined reference to `SSLv23_method'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_alert_desc_string_long'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_use_PrivateKey_file'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_check_private_key'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_alert_type_string_long'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_use_certificate_file'/usr/local/lib/libldap.so: undefined
> reference to `SSL_state_string_long'
> /usr/local/lib/libldap.so: undefined reference to `SSL_connect'
> /usr/local/lib/libldap.so: undefined reference to `SSL_free'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_get_peer_certificate'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_get_verify_result'
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_client_CA_list'
> /usr/local/lib/libldap.so: undefined reference to `SSL_write'
> 
> but the library is there:
> 
> server# ldd /usr/local/lib/libldap.so
> /usr/local/lib/libldap.so:
>         liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7
> (0x80095e000)
>         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x800a6d000)
>         libcrypto.so.3 => /lib/libcrypto.so.3 (0x800b84000)
>         libssl.so.3 => /usr/lib/libssl.so.3 (0x800dca000)
>         libc.so.6 => /lib/libc.so.6 (0x80062b000)
> 
> looks like the version number was bumped and the build won't look
> in /lib.  Is that what is going on?

Do you need to recompile the third party port being used by
buildworld?

Kris

Received on Sun Jul 24 2005 - 17:24:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC