bonjour a tous,
alors voila mon ptit soucis avec apache 2.2.8 et modsecurity 2.5.6
[root@test-VM httpd]# ls
bin cgi-bin error icons lib man modules build conf htdocs include logs manual
la compilation installation de apache2 a bien fonctionné
[root@test-VM httpd]# pwd
/opt/httpd
modsecurity
./configure --with-apxs=/opt/httpd228/bin/apxs (ca c'est bon ca marche)
make (fonctionne aussi)
mais c'est au make install que ca bloque
build/apxs-wrapper -i mod_security2.la
/opt/httpd228//build/instdso.sh SH_LIBTOOL='/opt/httpd228//build/libtool' mod_se
curity2.la /opt/httpd228//modules
/opt/httpd228//build/libtool --mode=install cp mod_security2.la /opt/httpd228//m
odules/
cp .libs/mod_security2.lai /opt/httpd228//modules/mod_security2.la
cp .libs/mod_security2.a /opt/httpd228//modules/mod_security2.a
chmod 644 /opt/httpd228//modules/mod_security2.a
ranlib /opt/httpd228//modules/mod_security2.a
PATH="$PATH:/sbin" ldconfig -n /opt/httpd228//modules
----------------------------------------------------------------------
Libraries have been installed in:
/opt/httpd228//modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning! dlname not found in /opt/httpd228//modules/mod_security2.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/httpd228//modules/mod_security2.so
chmod: ne peut accéder `/opt/httpd228//modules/mod_security2.so': Aucun fichier
ou répertoire de ce type
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods] Erreur 1
si qqu a deja vu ca
merci d'avance
# compilation modsecurity & apache2
Posté par zorooo . Évalué à 1.
rejouter /opt/httpd/modules
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.