Hello,

Le sam. 12 janv. 2019 à 13:19, Willy Tarreau <w...@1wt.eu> a écrit :

> Hi Olivier,
>
> On Wed, Jan 09, 2019 at 07:23:42PM +0100, Olivier D wrote:
> > Hello folks,
> >
> > Just wanted to raise an issue with a compilation error on HAProxy that I
> > was able to solve by myself. Just wanted to know if this issue is
> > haproxy-related or compiler-related (and if a fix should be provided in
> the
> > future)
> >
> > Compiling haproxy (1.8.17) failed with this error :
> (...)
> > /usr/src/haproxy/opensslbin/lib/libcrypto.a(threads_pthread.o): In
> function
> > `fork_once_func':
> > threads_pthread.c:(.text+0x16): undefined reference to `pthread_atfork'
> > collect2: error: ld returned 1 exit status
>
> It's been a while since we've got such linking issues. Usually they come
> from libpthread or libdl, which are most always shared. Can you please
> try the attached patch ?
>

Tested and approved :) compilation is working correctly \o/

Olivier


>
> Thanks,
> Willy
>

Reply via email to