httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Sparks <data...@yahoo.com>
Subject [users@httpd] Compiling ModSecurity on CentOS 5.3 x86_64
Date Sat, 25 Jul 2009 00:49:24 GMT

Running CentOS 5.3 x86_64, and Apache httpd-2.2.9, which is successfully compiled.

I do a 

 ./configure \
    --with-apxs=/usr/local/apache2/bin/apxs \
    --with-httpd-src=/home/sparks/install/httpd-2.2.9

I'll add that the apxs path is valid.  There's an -fPIC error which is also curious....

Anyway, after the configure, I then do a make.

It errors out.  The last few lines of output are:

/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_security2.la  -L/home/sparks/install/httpd-2.2.9/srclib/pcre
-L/usr/local/apache2/lib -lpcre -lxml2 -lz -lm -rpath /usr/local/apache2/modules -module -avoid-version
   msc_release.lo msc_lua.lo acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo
msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo msc_multipart.lo msc_xml.lo msc_logging.lo
re_variables.lo re_tfns.lo re_actions.lo re_operators.lo re.lo apache2_util.lo apache2_io.lo
apache2_config.lo mod_security2.lo
/usr/bin/ld: /home/sparks/install/httpd-2.2.9/srclib/pcre/.libs/libpcre.a(maketables.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile
with -fPIC
/home/sparks/install/httpd-2.2.9/srclib/pcre/.libs/libpcre.a(maketables.o): could not read
symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

   === Al


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message