[Oisf-users] Compile Error on CentOS 7

jt jtfas90 at gmail.com
Wed Oct 2 18:51:05 UTC 2019


On Wed, 2019-10-02 at 18:06 +0000, Cloherty, Sean E wrote:
> 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
> 

Which point release of cent7? and which version specifically of glibc-
devel?

We have compiled 4.1.5 with --enable-pie with no issues on 7.7.1908
with glibc-deve-2.17-292

JT



More information about the Oisf-users mailing list