You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jo...@aol.com on 2000/12/03 04:14:51 UTC
RSA_PKCS1_RSAref : That old question
Debian-2.2.17
Perl-5.6.0 --prefix=/opt
apache_1.3.14
mod_perl-1.24_01
mod_ssl-2.7.1-1.3.14
openssl-0.9.6
rsaref-2.0 from ftp://www.spinnaker.com/pub/crypt/rsaref
mm-1.1.3
Like many before me, I'm having trouble compiling mod_perl and mod_ssl with apache, it can't find
my rsa libraries.
I've gone through what must be a half a dozen different
solutions on the net.
After I configure mod_ssl --with-apache=/opt/src/apache_1.3.14
No errors.
I configure mod_perl with
CC=gcc CFLAGS="-mpentium -fomit-frame-pointer " \
CXX=gcc CXXFLAGS="-mpentium -fomit-frame-pointer" \
INC="-I/opt/include -I/opt/include/mysql -I/opt/include/openssl" \
EAPI_MM=/opt/src/mm-1.1.3 RSA_BASE=/opt/src/rsaref-2.0/local OPTIMIZE="-O3" \
LIBS="-L/opt/lib -L/opt/src/rsaref-2.0/local -L/opt/lib/mysql -L/opt/lib/ssl \
-lRSAglue -lrsaref" SSL_BASE=/opt/src/openssl-0.9.6 \
perl Makefile.PL USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/opt/apache \
APACHE_SRC=/opt/src/apache-1.3.12/src DO_HTTPD=1 \
APACI_ARGS='--enable-module=so,--enable-module=ssl'
No errors.
make goes for a real long time. It sure looks like this might be
the last step in the build.
gcc -DLINUX=2 -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI -DEAPI_MM -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -L/opt/src/openssl-0.9.6 -L/opt/src/mm-1.1.3/.libs -rdynamic \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -L/opt/lib -L/opt/src/rsaref-2.0/local -L/opt/lib/mysql -L/opt/lib/ssl -lRSAglue -lrsaref -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib /opt/lib/perl5/5.6.0/i586-linux/auto/DynaLoader/DynaLoader.a -L/opt/lib/perl5/5.6.0/i586-linux/CORE -lperl -lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt -lmm -ldl
/opt/src/openssl-0.9.6/libcrypto.a(rsa_lib.o): In function `RSA_new_method':
rsa_lib.o(.text+0x5e): undefined reference to `RSA_PKCS1_RSAref'
/opt/src/openssl-0.9.6/libcrypto.a(rsa_lib.o): In function `RSA_get_default_method':
rsa_lib.o(.text+0x73a): undefined reference to `RSA_PKCS1_RSAref'
/opt/src/openssl-0.9.6/libcrypto.a(err_all.o): In function `ERR_load_crypto_strings':
err_all.o(.text+0x3d): undefined reference to `ERR_load_RSAREF_strings'
collect2: ld returned 1 exit status
make[3]: *** [target_static] Error 1
make[3]: Leaving directory `/opt/src/apache_1.3.14/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/opt/src/apache_1.3.14'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/opt/src/apache_1.3.14'
make: *** [apaci_httpd] Error 2
I'm paralyzed. Thank you for any help you might be.
--JoshNarins
Re: RSA_PKCS1_RSAref : That old question
Posted by Mads Toftum <ma...@toftum.dk>.
On Sat, Dec 02, 2000 at 10:14:51PM -0500, JoshNarins@aol.com wrote:
> Debian-2.2.17
> Perl-5.6.0 --prefix=/opt
> apache_1.3.14
> mod_perl-1.24_01
> mod_ssl-2.7.1-1.3.14
> openssl-0.9.6
> rsaref-2.0 from ftp://www.spinnaker.com/pub/crypt/rsaref
Don't use RSAREF. Support for RSAREF was removed from mod_ssl in
version 2.7.0-1.3.14 because there is no reason to use it at all.
Just rebuild your openssl without RSAREF.
vh
Mads Toftum
--
`Darn it, who spiked my coffee with water?!' - lwall
Re: RSA_PKCS1_RSAref : That old question
Posted by Rob Tanner <rt...@cheshire.onlinemac.com>.
I haven't had that much trouble with with mod_ssl/mod_perl in eons. I don't remember the specifics anymore, but isn't that a problem with not building OpenSSL with rsaref. The reference in question, at least, is in the OpenSSL package (in the
dir rsaref) and not the rsaref package.
-- Rob
--On Saturday, December 02, 2000 10:14:51 PM +0000 JoshNarins@aol.com wrote:
> Debian-2.2.17
> Perl-5.6.0 --prefix=/opt
> apache_1.3.14
> mod_perl-1.24_01
> mod_ssl-2.7.1-1.3.14
> openssl-0.9.6
> rsaref-2.0 from ftp://www.spinnaker.com/pub/crypt/rsaref
> mm-1.1.3
>
> Like many before me, I'm having trouble compiling mod_perl and mod_ssl with
> apache, it can't find my rsa libraries.
> I've gone through what must be a half a dozen different
> solutions on the net.
>
> After I configure mod_ssl --with-apache=/opt/src/apache_1.3.14
>
> No errors.
>
> I configure mod_perl with
> CC=gcc CFLAGS="-mpentium -fomit-frame-pointer " \
> CXX=gcc CXXFLAGS="-mpentium -fomit-frame-pointer" \
> INC="-I/opt/include -I/opt/include/mysql -I/opt/include/openssl" \
> EAPI_MM=/opt/src/mm-1.1.3 RSA_BASE=/opt/src/rsaref-2.0/local OPTIMIZE="-O3" \
> LIBS="-L/opt/lib -L/opt/src/rsaref-2.0/local -L/opt/lib/mysql -L/opt/lib/ssl \
> -lRSAglue -lrsaref" SSL_BASE=/opt/src/openssl-0.9.6 \
> perl Makefile.PL USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/opt/apache \
> APACHE_SRC=/opt/src/apache-1.3.12/src DO_HTTPD=1 \
> APACI_ARGS='--enable-module=so,--enable-module=ssl'
>
> No errors.
>
> make goes for a real long time. It sure looks like this might be
> the last step in the build.
>
> gcc -DLINUX=2 -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX
> -DEAPI -DEAPI_MM -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 `./apaci` -L/opt/src/openssl-0.9.6
> -L/opt/src/mm-1.1.3/.libs -rdynamic \ -o httpd buildmark.o modules.o
> modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a
> main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -L/opt/lib
> -L/opt/src/rsaref-2.0/local -L/opt/lib/mysql -L/opt/lib/ssl -lRSAglue
> -lrsaref -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib
> /opt/lib/perl5/5.6.0/i586-linux/auto/DynaLoader/DynaLoader.a
> -L/opt/lib/perl5/5.6.0/i586-linux/CORE -lperl -lnsl -lndbm -ldb -ldl -lm
> -lc -lposix -lcrypt -lmm -ldl
> /opt/src/openssl-0.9.6/libcrypto.a(rsa_lib.o): In function `RSA_new_method':
> rsa_lib.o(.text+0x5e): undefined reference to `RSA_PKCS1_RSAref'
> /opt/src/openssl-0.9.6/libcrypto.a(rsa_lib.o): In function
> `RSA_get_default_method': rsa_lib.o(.text+0x73a): undefined reference to
> `RSA_PKCS1_RSAref'
> /opt/src/openssl-0.9.6/libcrypto.a(err_all.o): In function
> `ERR_load_crypto_strings': err_all.o(.text+0x3d): undefined reference to
> `ERR_load_RSAREF_strings'
> collect2: ld returned 1 exit status
> make[3]: *** [target_static] Error 1
> make[3]: Leaving directory `/opt/src/apache_1.3.14/src'
> make[2]: *** [build-std] Error 2
> make[2]: Leaving directory `/opt/src/apache_1.3.14'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/opt/src/apache_1.3.14'
> make: *** [apaci_httpd] Error 2
>
> I'm paralyzed. Thank you for any help you might be.
>
> --JoshNarins
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: modperl-unsubscribe@apache.org
> For additional commands, e-mail: modperl-help@apache.org
>
_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
Rob Tanner
McMinnville, Oregon
rtanner@cheshire.onlinemac.com