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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]