snort make文件给出错误 [英] snort make file gives error
问题描述
我在创建snort make文件时遇到了这个错误信息?
/ usr / bin / ld:/ usr / local / lib /libpcre.a(pcre_compile.o):重定位R_X86_64_32S对>`.rodata'不能使用时创建一个共享对象;使用-fPIC重新编译
$ b $
/usr/local/lib/libpcre.a:无法读取符号:错误值
collect2:ld返回1退出状态解决方案在您的make文件中指定
libpcre.a
进行链接,指定libpcre.so
。
这应该让你摆脱错误!
谢谢!
I have got this error messge when creating snort make file?
/usr/bin/ld: /usr/local/lib/libpcre.a(pcre_compile.o): relocation R_X86_64_32S against >`.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpcre.a: could not read symbols: Bad value
collect2: ld returned 1 exit statusHow i can get out of this?
解决方案Instead of specifying
libpcre.a
in your make file for linking, specifylibpcre.so
.This should get you out of the error!
Thanks!
这篇关于snort make文件给出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!