make fails with: libmemcached/.libs/libmemcached.so: undefined reference to `pthread_once'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 13.10.
Steps to reproduce:
tar zxvf libmemcached-
cd libmemcached-1.0.18
./configure
make
Output:
...
CXXLD libmemcachedint
copying selected object files to avoid basename conflicts...
CXX libmemcached/
CXX libmemcacheduti
CXX libmemcacheduti
CXX libmemcacheduti
CXX libmemcacheduti
CXX libmemcacheduti
CXXLD libmemcachedint
CXX clients/
CXX libmemcached/
CXXLD clients/memcapable
CXX clients/memcat.o
CXXLD clients/memcat
CXX clients/memcp.o
CXXLD clients/memcp
CXX clients/memdump.o
CXXLD clients/memdump
CXX clients/memerror.o
CXXLD clients/memerror
CXX clients/memexist.o
CXXLD clients/memexist
CXX clients/memtouch.o
CXXLD clients/memtouch
CXX clients/memflush.o
CXXLD clients/memflush
CXX clients/memparse.o
CXXLD clients/memparse
libmemcached/
collect2: error: ld returned 1 exit status
make[1]: *** [clients/memparse] Error 1
make[1]: Leaving directory `/mnt/scratch/
make: *** [all] Error 2
This appears to be a libtool bug:
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=661333
Fedora has applied a workaround to their libmemcached package:
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1037707