[英]snort make file gives error
I have got this error messge when creating snort make file? 创建snort make文件时出现此错误信息?
/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;
/ usr / bin / ld:/usr/local/lib/libpcre.a(pcre_compile.o):在创建共享库时不能使用R.Xdata_64_32S相对于.rodata的位置; recompile with -fPIC
用-fPIC重新编译
/usr/local/lib/libpcre.a: could not read symbols: Bad value/usr/local/lib/libpcre.a:无法读取符号:错误值
collect2: ld returned 1 exit statuscollect2:ld返回1退出状态
How i can get out of this? 我该如何摆脱呢?
Instead of specifying libpcre.a
in your make file for linking, specify libpcre.so
. 除了指定的
libpcre.a
在您链接make文件,指定libpcre.so
。
This should get you out of the error! 这应该使您摆脱错误!
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.