Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 09:37:19 -0500 (EST)
From:      "Robert C. Noland III" <rnoland@2Hip.Net>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        current@FreeBSD.ORG
Subject:   world broken using /usr/local/lib?
Message-ID:  <14467.10527.127430.757657@gizmo.2hip.net>
In-Reply-To: <20000117021924.Q508@fw.wintelcom.net>
References:  <20000117021924.Q508@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You have a libcrypto in /usr/local/lib which was not compiled with
rsaref.  When it reaches out to get rsaref, it also picks up the
libcrypto and libssl from /usr/local/lib rather than the build tree.
Move them out of the way...

robert.

Alfred Perlstein writes:
>broken here for the last 12 hours or so:
>
>cc -pipe -O2 -DMONOLITH -DNO_IDEA -I/home/src/secure/usr.bin/openssl -DRSAref   -I/usr/obj/home/src/i386/usr/include -c /home/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/speed.c
>cc -pipe -O2 -DMONOLITH -DNO_IDEA -I/home/src/secure/usr.bin/openssl -DRSAref   -I/usr/obj/home/src/i386/usr/include -c /home/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/verify.c
>cc -pipe -O2 -DMONOLITH -DNO_IDEA -I/home/src/secure/usr.bin/openssl -DRSAref   -I/usr/obj/home/src/i386/usr/include -c /home/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/version.c
>cc -pipe -O2 -DMONOLITH -DNO_IDEA -I/home/src/secure/usr.bin/openssl -DRSAref   -I/usr/obj/home/src/i386/usr/include -c /home/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/x509.c
>cc -pipe -O2 -DMONOLITH -DNO_IDEA -I/home/src/secure/usr.bin/openssl -DRSAref   -I/usr/obj/home/src/i386/usr/include  -o openssl apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrsa.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o x509.o  -lssl -lcrypto -L/usr/local/lib -lrsaref
>speed.o: In function `speed_main':
>speed.o(.text+0x66a): undefined reference to `RSA_PKCS1_RSAref'
>/usr/local/lib/libcrypto.so: undefined reference to `ERR_load_RSAREF_strings'
>*** Error code 1
>1 error
>*** Error code 2
>1 error
>*** Error code 2
>1 error
>*** Error code 2
>1 error
>*** Error code 2
>1 error
>*** Error code 2
>1 error
>
>?
>
>do i need to rebuild a port, and why?
>
>thanks,
>-- 
>-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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