httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Sparks <>
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 \

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  -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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message