Hi
I've downloaded these packages:
apache_1.3.41.tar.gz
mod_ssl-2.8.31-1.3.41.tar.gz
Openssl already available on my Linux SuSE Enterprise 10 OS.
And I've run these commands:
Code:
tar xvzf openssl-0.9.8g.tar.gz
cd openssl-0.9.8g
./config
make
cd ..
tar xvzf apache_1.3.41.tar.gz
tar xvfz mod_ssl-2.8.31-1.3.41.tar.gz
cd mod_ssl-2.8.31-1.3.41/
./configure --with-apache=../apache_1.3.41 --prefix=/usr/local/apache
cd ..
cd apache_1.3.41
SSL_BASE=/usr/include/openssl
after that, I have run this:
Code:
./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-module=proxy --enable-module=ssl
And the compiler gave me this error:
Code:
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `./apaci` -L/usr/lib -o helpers/dummy helpers/dummy.c -lm -lcrypt -lndbm -lssl -lcrypto -lexpat -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libgdbm.so when searching for /usr/lib/libgdbm.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find /usr/lib/libgdbm.so
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
Where is the problem? How can I have my apache compiled with mod_ssl?