Дано: RH60
openssl-0.9.4 - installed
mm-1.0.10 - installed
apache_1.3.9rusPL28.18
mod_ssl 2.4
Захожу в каталог mod_ssl и натурально, как в учебнике даю:
./configure \
--with-apache=../apache_1.3.9rusPL28.18/ \
--with-ssl=../openssl-0.9.4/ \
--with-mm=../mm-1.0.10/ \
--prefix=/usr/local/apache/ \
--enable-shared=ssl \
--enable-module=ssl
Оно довольно живенько все что ему надо делает, патчирует апач, на каком-то
этапе говорит
Done: source extension and patches successfully applied.
и в общем заканчивает довольно прилично:
+ enabling Extended API (EAPI)
using MM library: ../../mm-1.0.10/ (source-tree only)
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/extra
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/ssl
Now proceed with the following commands:
$ cd ../apache_1.3.9rusPL28.18/
$ make
$ make certificate
$ make install
Захожу в apache-иерархию и делаю make. В итоге в каталоге src/main получаю
===> src/main
gcc -c -I../../../mm-1.0.10/ -I../os/unix -I../include -DLINUX=2 -DRUSSIAN
_APACHE -DMOD_SSL=204101 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib
/expat-lite `../apaci` gen_test_char.c
gcc -DLINUX=2 -DRUSSIAN_APACHE -DMOD_SSL=204101 -DUSE_HSREGEX -DEAPI -DEAPI
_MM -DUSE_EXPAT -I../lib/expat-lite
../apaci` -L../../../mm-1.0.10//.libs -o gen_test_char
gen_test_char.o -lm -lcrypt -lmm -ldl
./gen_test_char >test_char.h
./gen_test_char: error in loading shared libraries: libmm.so.10: cannot open
shared object file: No such file or directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/SSL/apache_1.3.9rusPL28.18/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/SSL/apache_1.3.9rusPL28.18'
make: *** [build] Error 2
[root@saigon apache_1.3.9rusPL28.18]
Пугаюсь, захожу в этот src/main и делаю
[root@saigon main]# ls -l ../../../mm-1.0.10//.libs
-rw-r--r-- 1 root root 15152 Sep 6 14:52 libmm.a
lrwxrwxrwx 1 root root 11 Sep 6 14:52 libmm.la ->
../libmm.la
-rw-r--r-- 1 root root 635 Sep 6 14:52 libmm.lai
lrwxrwxrwx 1 root root 16 Sep 6 14:52 libmm.so ->
libmm.so.10.0.10
lrwxrwxrwx 1 root root 16 Sep 6 14:52 libmm.so.10 ->
libmm.so.10.0.10
-rwxr-xr-x 1 root root 18657 Sep 6 14:52 libmm.so.10.0.10
-rwxr-xr-x 1 root root 17837 Sep 6 14:54 lt-mm_test
-rwxr-xr-x 1 root root 17805 Sep 6 14:52 mm_test
Как живая! Что ей не так? Опять таки make test в mm-1.0.10 проходит на ура.
Заранее благодарен всем хотя бы прочитавшим.
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.