From owner-freebsd-questions Sun Oct 17 13:32:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pop06.iname.net (pop06.iname.net [165.251.8.76]) by hub.freebsd.org (Postfix) with ESMTP id 9365814C88 for ; Sun, 17 Oct 1999 13:32:11 -0700 (PDT) (envelope-from crainm@techie.com) Received: from techie.com (c309649-a.olmpi1.wa.home.com [24.5.120.129]) by pop06.iname.net (8.9.3/8.9.3) with ESMTP id QAA12020 for ; Sun, 17 Oct 1999 16:32:10 -0400 (EDT) Message-ID: <380A325E.8DA39A5A@techie.com> Date: Sun, 17 Oct 1999 13:32:30 -0700 From: Erik B Ordway Reply-To: crainm@techie.com X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: WebMin needs Perl Net_SSLeay to use SSL Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG WebMin needs Perl Net_SSLeay to use SSL. Unfortunately Net_SSLeay coughs and dies when building. I have tried w/ and w/o the -rsaref to no effect. I am thinking that it is that the port openSSL is for 0.9.4 and Net_SSLeay can't actually deal with this. Or that it is because the binary for openssl is in /usr/local and the libraries are in /usr/local/openssl and it is getting confused. Any thoughts? su-2.02# cd Net_SSLeay.pm-1.05 su-2.02# ./Makefile.PL -rsaref -t /usr/local/ Checking for OpenSSL-0.9.3a or newer... You have OpenSSL-0.9.4 installed in /usr/local/ That's is newer than what this module was tested with (0.9.3a). You should consider checking if there is a newer release of this module available. Everything will probably work OK, though. Writing Makefile for Net::SSLeay cc -c -I/usr/local//include -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE SSLeay.c SSLeay.c: In function `XS_Net__SSLeay_get_cipher_list': SSLeay.c:2505: warning: assignment discards `const' from pointer target type SSLeay.c: In function `XS_Net__SSLeay_get_cipher': SSLeay.c:2538: warning: assignment discards `const' from pointer target type Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs cc -o blib/arch/auto/Net/SSLeay/SSLeay.so -shared SSLeay.o -L/usr/local/ -L/usr/local//lib -lssl -lRSAglue -lcrypto -lrsaref chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl 1..16 Can't load 'blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: blib/arch/auto/Net/SSLeay/SSLeay.so: Undefined symbol "RSA_PKCS1_RSAref" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169. at test.pl line 17 BEGIN failed--compilation aborted at test.pl line 17. not ok 1 *** Error code 2 Stop. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message