undefined reference to 'pthread_'

Marco Marino marino.mrc at gmail.com
Mon Jan 20 17:24:55 CET 2014


This happens on 2 servers. It seems a strange behavior..... i have pthread
installed.


2014/1/20 Alan DeKok <aland at deployingradius.com>

> 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.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140120/57a0fa50/attachment.html>


More information about the Freeradius-Users mailing list