On 07/18/2015 10:39 AM, Joshua Lindsey wrote:
ldconfig -p | grep samba-util shows
libsamba-util.so.0 (libc6,x86-64) => /usr/local/samba/lib/libsamba-util.so.0 libsamba-util.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libsamba-util.so.0 libsamba-util.so (libc6,x86-64) => /usr/local/samba/lib/libsamba-util.so libsamba-util.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libsamba-util.so

/etc/ld.so.conf.d/samba4.conf contains
    /usr/local/samba/lib
Sorry for the poor quoting, but I just subscribed. This was the original error message in the first post:

>> Linking sample application bin/libmapixx-test
>> //usr/local/samba/lib/private/libldbsamba-samba4.so: undefined reference to `ldb_register_extended_match_rule at LDB_1.1.19 <http://mailman.openchange.org/listinfo/devel>' >> /usr/local/samba/lib/libdcerpc.so: undefined reference to `tevent_queue_wait_recv at TEVENT_0.9.20 <http://mailman.openchange.org/listinfo/devel>' >> /usr/local/samba/lib/libsmbclient-raw.so.0: undefined reference to `tevent_req_set_cleanup_fn at TEVENT_0.9.21 <http://mailman.openchange.org/listinfo/devel>' >> /usr/local/samba/lib/libdcerpc.so: undefined reference to `tevent_queue_wait_send at TEVENT_0.9.20 <http://mailman.openchange.org/listinfo/devel>'
>> collect2: error: ld returned 1 exit status
>> make: *** [bin/libmapixx-test] Error 1
>> Any Idea what I could be doing incorrectly? any help is greatly appreciated.

Notice two different tevent versions. Is the error you are getting now actually identical, or just similar?

If identical, what's the output of ldd on each of the 3 libraries above?

Also, why not the packaged versions? Building from source is fine, and if you want the latest and greatest,it's the only method. That said, while I'm not an Ubuntu user, I believe Ubuntu provides fairly recent packaged versions of openchange-2.2 and sogo-2.2.17a (if I'm reading these pages correctly):

https://launchpad.net/ubuntu/+source/openchange
https://launchpad.net/ubuntu/+source/sogo

There is enough interest there that I can't imagine it'd be too much longer before openchange-2.3 and sogo-2.3.0show up in Ubuntu. Neither are huge changes from a packaging and upgrade standpoint. You can skip the buildingsection of the cookbook completely.

-- DJ
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to