From owner-freebsd-ports Sat Jun 24 9: 3:13 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 8731937B761 for ; Sat, 24 Jun 2000 09:03:06 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id LAA34336; Sat, 24 Jun 2000 11:03:02 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <005401bfddf5$ad2e9360$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "John Reynolds" , References: <14676.19015.25060.676768@whale.home-net> Subject: Re: compile problem with fetchmail with openssl installed on 3.5-STABLE Date: Sat, 24 Jun 2000 11:03:02 -0500 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: "John Reynolds" > I am running a freshly built 3.5-S system and I have the latest openssl port > installed: > > openssl-0.9.5a > One thing that strikes me as wierd is that the Makefile looks for the .a > libraries, but yet gcc is complaining that it can't resolve those references in > the shared object libraries. Anybody got any clues on that one? Anybody else on > 3.5-S see the same problem I do (who also has openssl installed)? > > /usr/local/lib/libcrypto.a(rsa_lib.o): In function `RSA_new_method': > rsa_lib.o(.text+0x7e): undefined reference to `RSA_PKCS1_RSAref' > /usr/local/lib/libcrypto.a(err_all.o): In function `ERR_load_crypto_strings': > err_all.o(.text+0x30): undefined reference to `ERR_load_RSAREF_strings' > > Any clues? > I believe those functions are in the rsaref port. Do you have USA_RESIDENT set to YES in the /etc/make.conf file? Do you have the rsaref port installed? It seems that the port could be missing a dependency on EXTRA_SSL_LIBS which is used to add "-lRSAglue -lrsaref" for ports built in the US. Try adding EXTRA_SSL_LIBS to the sources Makefile and see if that will fix the problem. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message