[Oisf-users] Compile Error on CentOS 7

Cloherty, Sean E scloherty at mitre.org
Wed Oct 2 18:06:55 UTC 2019


Is anyone using the option -enable-pie when building Suricata 4.1.5 or 5.0rc1 ?  I have been using it up through 4.1.4 and 5.0beta1 with no issue.

I am using the following -

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libhs-includes=/usr/local/include/hs/ --with-libhs-libraries=/usr/local/lib/ --with-liblzma-includes=/usr/include/ --enable-gccprotect --enable-gccprofile --enable-gccmarch-native --enable-lua --enable-geoip --enable-pie --enable-rust --enable-unix-socket

This is the error I get ---


/usr/bin/ld:

/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/gcrt1.o:

relocation R_X86_64_32S against symbol `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Nonrepresentable section on output

Thanks.

Sean Cloherty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20191002/a7e986f6/attachment.html>


More information about the Oisf-users mailing list