snort make file gives error

2019-02-20 04:56发布

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?

1条回答
贪生不怕死
2楼-- · 2019-02-20 05:31

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

This should get you out of the error!

Thanks!

查看更多
登录 后发表回答