全球主机交流论坛

标题: modsecurity编译错误,求指教 [打印本页]

作者: hcw1588    时间: 2014-2-17 21:41
标题: modsecurity编译错误,求指教
  1. /root/modsecurity-apache_2.7.7/nginx/modsecurity/../../standalone/.libs/standalone.a -lapr-1 -L/usr/lib64 -laprutil-1 -I/usr/local/apache/include -lcurl -lxml2 -lz -lm -L/usr/local/lib -lpcre -L/usr/local/apache/lib
  2. /usr/bin/ld: /root/modsecurity-apache_2.7.7/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-api.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  3. /root/modsecurity-apache_2.7.7/nginx/modsecurity/../../standalone/.libs/standalone.a: could not read symbols: Bad value
  4. collect2: ld 返回 1
  5. make: *** [objs/ngx_http_modsecurity.so] 错误 1
  6. copying objs/ngx_http_modsecurity.so to /usr/local/tengine/modules/
  7. cp: 无法获取"objs/ngx_http_modsecurity.so" 的文件状态(stat): 没有那个文件或目录
复制代码

作者: hcw1588    时间: 2014-2-18 08:10
求教
作者: cgs3238    时间: 2014-2-18 08:21
standalone.a是32位的?
作者: hcw1588    时间: 2014-2-18 08:28
cgs3238 发表于 2014-2-18 08:21
standalone.a是32位的?

应该不是吧..




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4