Hi, I just attended @mattispasch SoCal Code Camp and was hoping to follow allow and implement a Python/C Couchbase Lite client. After installed the CE server and C SDK using the http://packages.couchbase.com/clients/c/couchbase-csdk-setup Perl script on Ubuntu 12.04 64-bit I ran into the following compile time errors. He suggested I ask here to see if anyone had the same issue.
$ make
cc -Wall -g -lcouchbase connecting.c -o connecting
/tmp/ccFsK0V3.o: In function `die':
/home/user/devguide-examples/c/connecting.c:8: undefined reference to `lcb_strerror'
/tmp/ccFsK0V3.o: In function `main':
/home/user/devguide-examples/c/connecting.c:23: undefined reference to `lcb_create'
/home/user/devguide-examples/c/connecting.c:28: undefined reference to `lcb_connect'
/home/user/devguide-examples/c/connecting.c:34: undefined reference to `lcb_wait'
/home/user/devguide-examples/c/connecting.c:37: undefined reference to `lcb_get_bootstrap_status'
/home/user/devguide-examples/c/connecting.c:41: undefined reference to `lcb_get_num_nodes'
/home/user/devguide-examples/c/connecting.c:45: undefined reference to `lcb_destroy'
collect2: ld returned 1 exit status
make: *** [connecting] Error 1
Headers are installed.
$ ls /usr/include/libcouchbase/
api3.h configuration.h error.h libevent_io_opts.h pktfwd.h vbucket.h
assert.h couchbase.h http.h libev_io_opts.h plugins views.h
cntl.h _cxxwrap.h iops.h libuv_io_opts.h select_io_opts.h visibility.h
cntl-private.h deprecated.h kvbuf.h n1ql.h sysdefs.h
Thanks!