On 15 June 2010 23:00, Shirish Pargaonkar <[email protected]> wrote: > On Tue, Jun 15, 2010 at 3:50 PM, Michael Wood <[email protected]> wrote: >> On 15 June 2010 21:49, Shirish Pargaonkar <[email protected]> >> wrote: >>> I am building in source4. Where are these symbols defined? Is any >>> library that is not getting linked? >> >> Those symbols are from zlib. It seems that libz.a is found during >> compilation and later libz.so.xxx is not found when trying to link >> ldbadd. libz.so.* would normally be found in /lib. Is it not there? >> >>> samba/source4 # make >>> WAF_MAKE=1 ../buildtools/bin/waf build >>> Waf: Entering directory `/usr/src/bamba/samba/source4/bin' >>> [1816/1961] Linking default/source4/lib/ldb/libldb-samba4.so >>> [1908/1961] Linking default/source4/lib/ldb/ldbadd >>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to `zError' >>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to >>> `inflateReset' >>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflate' >> [...] >> >> -- >> Michael Wood <[email protected]> >> > > Michael, > > # ls /lib/libz* > /lib/libz.so.1 /lib/libz.so.1.2.3
And what does this give you: # ldd /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so -- Michael Wood <[email protected]> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
