undefined reference to 'pthread_'

Alan DeKok aland at deployingradius.com
Mon Jan 20 17:12:45 CET 2014


Marco Marino wrote:
> Hi, 
> I'm trying to compile freeradius 2.2.3 on ubuntu 13.10 (64 bit) with
> ./configure
> make
> 
> but i have:
> gcc -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o
>  /home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so
> -lgdbm_compat -lssl -lcrypto -lnsl -lresolv -lpthread 
> /home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
> undefined reference to `pthread_getspecific'

  Your system is broken.  It's being asked to link to "-lpthread", but
for some reason it's not finding the pthread systems in the pthread library.

  Alan DeKok.


More information about the Freeradius-Users mailing list