[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: krb5-config --libs gssapi prints out "-pthread" - why makes this my build fail?



>> to the linker, but during linking (Linux x86)) ld fails with
>>
>>   /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../ 
>> i686-pc-linux-gnu/bin/ld:
>>   unrecognized option '-pthreads'
>
> I think, you should replace "-pthread" by "-lpthread". Don't ask me  
> how this came into your krb5-config.

Its heimdal pthread test that failes to detect the right thing. I  
guess the test needs be split
since for some platforms the "pthread" option for application is not  
the same as for libs.

Any help to improve the situation would be appreciated.

Love