Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 15:24:00 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Sean McNeil <sean@mcneil.com>
Cc:        current@freebsd.org
Subject:   Re: libcrypto.so.3 problem building world with kerberos
Message-ID:  <20050724192400.GA84677@xor.obsecurity.org>
In-Reply-To: <1122147652.79125.2.camel@server.mcneil.com>
References:  <1122147652.79125.2.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 23, 2005 at 12:40:52PM -0700, Sean McNeil wrote:
> I get the following error during build:
>=20
> /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'
>=20
> but the library is there:
>=20
> server# ldd /usr/local/lib/libldap.so
> /usr/local/lib/libldap.so:
>         liblber-2.2.so.7 =3D> /usr/local/lib/liblber-2.2.so.7
> (0x80095e000)
>         libsasl2.so.2 =3D> /usr/local/lib/libsasl2.so.2 (0x800a6d000)
>         libcrypto.so.3 =3D> /lib/libcrypto.so.3 (0x800b84000)
>         libssl.so.3 =3D> /usr/lib/libssl.so.3 (0x800dca000)
>         libc.so.6 =3D> /lib/libc.so.6 (0x80062b000)
>=20
> 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

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC4+rPWry0BWjoQKURApFYAJ9DEMZin2ek+ko4FKtwxW3mx8uteACffoWg
TRBJq04qK4+dKAq33S+vLFo=
=4OLH
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050724192400.GA84677>