简体   繁体   中英

snort make file gives error

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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