Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 10:26:20 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-current@freebsd.org
Subject:   Building RELENG_8_0 confused by openldap.
Message-ID:  <4B0E57CC.7050509@infracaninophile.co.uk>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB2C223A27BAE4AB4E9950796
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


Hi,

I realise that 8.0 is literally just heading out of the door, but I seem =
to
have discovered a problem.

When building the RELENG_8_0 world preparatory to upgrading a RELENG_7_2
machine with OpenLDAP 2.4.19 installed, the build falls over because Kerb=
eros ipropd picks up the presence of /usr/local/lib/libldap.so ultimately=
 causing linking to fail because of missing OpenSSL symbols:

=3D=3D=3D> kerberos5/libexec/ipropd-master (all)
cc -O2 -pipe  -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/=
heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/ipropd-master/../../../cryp=
to/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/ipropd-master/../../../c=
rypto/heimdal/lib/roken  -I. -I/usr/local/include -DOPENLDAP=3D1 -DHAVE_C=
ONFIG_H -I/usr/src/kerberos5/libexec/ipropd-master/../../include -std=3Dg=
nu99 -fstack-protector  -c /usr/src/kerberos5/libexec/ipropd-master/../..=
/../crypto/heimdal/lib/kadm5/ipropd_common.c
cc -O2 -pipe  -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/=
heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/ipropd-master/../../../cryp=
to/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/ipropd-master/../../../c=
rypto/heimdal/lib/roken  -I. -I/usr/local/include -DOPENLDAP=3D1 -DHAVE_C=
ONFIG_H -I/usr/src/kerberos5/libexec/ipropd-master/../../include -std=3Dg=
nu99 -fstack-protector  -c /usr/src/kerberos5/libexec/ipropd-master/../..=
/../crypto/heimdal/lib/kadm5/ipropd_master.c
cc -O2 -pipe  -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/=
heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/ipropd-master/../../../cryp=
to/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/ipropd-master/../../../c=
rypto/heimdal/lib/roken  -I. -I/usr/local/include -DOPENLDAP=3D1 -DHAVE_C=
ONFIG_H -I/usr/src/kerberos5/libexec/ipropd-master/../../include -std=3Dg=
nu99 -fstack-protector  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipr=
opd-master ipropd_common.o ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lhx50=
9 -lroken /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libv=
ers/libvers.a  -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.5, needed by /usr/loc=
al/lib/libldap.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.5, 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_ca=
llback'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_info_callb=
ack'
/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_fil=
e'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_default_ve=
rify_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_add_dir_cert_subje=
cts_to_stack'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_new'
/usr/local/lib/libldap.so: undefined reference to `SSL_library_init'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_load_verify_lo=
cations'
/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_lis=
t'
/usr/local/lib/libldap.so: undefined reference to `SSL_accept'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_ctrl'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_get_cert_store=
'
/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_alert_type_string_=
long'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_tmp_dh_cal=
lback'
/usr/local/lib/libldap.so: undefined reference to `SSL_CTX_use_certificat=
e_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_certifica=
te'
/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'
*** Error code 1

Stop in /usr/src/kerberos5/libexec/ipropd-master.
*** Error code 1

Stop in /usr/src/kerberos5/libexec.
*** Error code 1

Stop in /usr/src/kerberos5.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK


--------------enigB2C223A27BAE4AB4E9950796
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksOV9IACgkQ3jDkPpsZ+VZuUwCeMkRdZHEgA7YBtGzJ2l98q3iV
aEgAoMPHE5WVNwEBNTUDxRqTkgmu4SYY
=Ub2i
-----END PGP SIGNATURE-----

--------------enigB2C223A27BAE4AB4E9950796--



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