Oh :)

Sorry guys for disinformation.

Just found the same gcc error but not during the libmemcached compilation 
process.
Library installed with no problem.
Was going to install this module: 
https://github.com/yoreek/nginx-xsltproc-module
And got this error:

checking for libmemcached

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libmemcached.so: 
undefined reference to `pthread_once'
collect2: ld returned 1 exit status
----------

#include <sys/types.h>
#include <unistd.h>
#include <libmemcached/memcached.h>

int main() {
    memcached_create(NULL);;
    return 0;
}

----------
gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/include -o objs/autotest 
objs/autotest.c -lmemcached

Already contacted with "yoreek". He added -lpthread to configure stage.

Thanks for quick response. And sorry.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/883267

Title:
  1.0.2 (and 0.53) build fails on ubuntu oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmemcached/+bug/883267/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to