Date: Wed, 12 Apr 2000 15:47:20 -0700 (PDT) From: Doug Barton <Doug@gorean.org> To: Kris Kennaway <kris@FreeBSD.org> Cc: freebsd-questions@FreeBSD.org Subject: Re: OpenSSH problem in 3.4 Message-ID: <Pine.BSF.4.21.0004121546140.2843-100000@dt051n0b.san.rr.com> In-Reply-To: <Pine.BSF.4.21.0004121443540.84928-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Apr 2000, Kris Kennaway wrote: > On Wed, 12 Apr 2000, Doug Barton wrote: > > > I'm building a proprietary application on a 3.4-Stable system > > (vintage 2/28) that uses OpenSSL. I installed the rsaref port and the > > openssl port on the system (compiled fresh today from up to date > > ports) and I get this error: > > > > /usr/local/lib/libcrypto.so: undefined reference to > > `ERR_load_RSAREF_strings' > > /usr/local/lib/libcrypto.so: undefined reference to `RSA_PKCS1_RSAref' > > Are you linking explicitly against libRSAglue? You need to do this with > the stock OpenSSL - our version does dlopen() magic to get around it. Linking against libRSAglue in the app gets me: /usr/local/lib/libRSAglue.a(rsaref.o): In function `RSA_ref_private_decrypt': rsaref.o(.text+0x23c): undefined reference to `RSAPrivateDecrypt' /usr/local/lib/libRSAglue.a(rsaref.o): In function `RSA_ref_private_encrypt': rsaref.o(.text+0x2e8): undefined reference to `RSAPrivateEncrypt' /usr/local/lib/libRSAglue.a(rsaref.o): In function `RSA_ref_public_decrypt': rsaref.o(.text+0x374): undefined reference to `RSAPublicDecrypt' /usr/local/lib/libRSAglue.a(rsaref.o): In function `RSA_ref_public_encrypt': rsaref.o(.text+0x404): undefined reference to `R_RandomInit' rsaref.o(.text+0x411): undefined reference to `R_GetRandomBytesNeeded' rsaref.o(.text+0x451): undefined reference to `R_RandomUpdate' rsaref.o(.text+0x49a): undefined reference to `RSAPublicEncrypt' rsaref.o(.text+0x4e7): undefined reference to `R_RandomFinal' Did you mean that I should build openssl by linking it to libRSAglue? Thanks, Doug -- Excess on occasion is exhilarating. It prevents moderation from acquiring the deadening effect of a habit. -- W. Somerset Maugham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004121546140.2843-100000>