简体   繁体   English

鼻息使文件给出错误

[英]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 status collect2: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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM