snort make文件给出错误 [英] snort make file gives error

查看:378
本文介绍了snort make文件给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建snort make文件时遇到了这个错误信息?


/ usr / bin / ld:/ usr / local / lib /libpcre.a(pcre_compile.o):重定位R_X86_64_32S对>`.rodata'不能使用时创建一个共享对象;使用-fPIC重新编译

/usr/local/lib/libpcre.a:无法读取符号:错误值

collect2:ld返回1退出状态

$ b $

解决方案

在您的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 status

How i can get out of this?

解决方案

Instead of specifying libpcre.a in your make file for linking, specify libpcre.so.

This should get you out of the error!

Thanks!

这篇关于snort make文件给出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆