From owner-freebsd-ports Fri Jun 23 22:42:37 2000 Delivered-To: freebsd-ports@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id 825CB37BB6B for ; Fri, 23 Jun 2000 22:42:33 -0700 (PDT) (envelope-from jjreynold@home.com) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id WAA60504 for ; Fri, 23 Jun 2000 22:42:31 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.9.3/8.9.3) id WAA05921; Fri, 23 Jun 2000 22:42:31 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14676.19015.25060.676768@whale.home-net> Date: Fri, 23 Jun 2000 22:42:31 -0700 (MST) To: ports@freebsd.org Subject: compile problem with fetchmail with openssl installed on 3.5-STABLE X-Mailer: VM 6.73 under Emacs 20.6.1 Cc: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I CVSup'ed ports tonight and was going through updating various things. I happened upon the following error while trying to compile fetchmail 5.4.1. cc -L/usr/local/lib -L/usr/local/lib rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o etrn.o fetchmail.o idle.o env.o options.o daemon.o driver.o sink.o rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o smbdes.o smbencrypt.o smbmd4.o smbutil.o ipv6-connect.o getopt.o getopt1.o -lrsaref -lcrypt -lintl -lmd -lkvm -lssl -lcrypto -lfl -o fetchmail /usr/local/lib/libcrypto.so: undefined reference to `ERR_load_RSAREF_strings' /usr/local/lib/libcrypto.so: undefined reference to `RSA_PKCS1_RSAref' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 I am running a freshly built 3.5-S system and I have the latest openssl port installed: openssl-0.9.5a The Makefile for fetchmail looks to determine if both ${LOCALBASE}/lib/libssl.a and ${LOCALBASE}/lib/libcrypto.a exist--which they do of course with this port installed. However, it appears that the above mentioned functions cannot be found. 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)? Out of curiosity, I manually added the "-static" flag to the above cc command and got: root@whale [fetchmail/work/fetchmail-5.4.1]<44># cc -static -L/usr/local/lib -L/usr/local/lib rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o etrn.o fetchmail.o idle.o env.o options.o daemon.o driver.o sink.o rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o smbdes.o smbencrypt.o smbmd4.o smbutil.o ipv6-connect.o getopt.o getopt1.o -lrsaref -lcrypt -lintl -lmd -lkvm -lssl -lcrypto -lfl -o fetchmail /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? -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 3.4-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message