It can be done...
Michael Felt
michael at felt.demon.nl
Tue Aug 1 15:25:44 UTC 2017
On 01/08/2017 13:43, Michael Felt via samba-technical wrote:
> That part works - but now that I have packaged, and installed on a
> test server I see that a lot of "linking" information is not complete.
>
> As an example: ldd /usr/local/samba/sbin/smbd returns, among many others:
> Cannot find libtdb.so
>
> Unfortunately, this library - rather with this name, was never created:
>
> root at x069:[/data/prj/samba/samba-4.4.15]find /usr/local | grep tdb
> /usr/local/samba/bin/tdbbackup
> /usr/local/samba/bin/tdbdump
> /usr/local/samba/bin/tdbrestore
> /usr/local/samba/bin/tdbtool
> /usr/local/samba/lib/idmap/tdb2.so
> /usr/local/samba/lib/ldb/secrets_tdb_sync.so
> /usr/local/samba/lib/ldb/tdb.so
> /usr/local/samba/lib/private/libtdb-wrap-samba4.so
> /usr/local/samba/lib/private/libtdb.so.1
> /usr/local/samba/lib/private/libtdb.so.1.3.8
> /usr/local/samba/lib/private/libutil-tdb-samba4.so
> /usr/local/samba/lib/private/libxattr-tdb-samba4.so
> /usr/local/samba/lib/python2.7/site-packages/_tdb_text.py
> /usr/local/samba/lib/python2.7/site-packages/samba/tdb_util.py
> /usr/local/samba/lib/python2.7/site-packages/samba/xattr_tdb.so
> /usr/local/samba/lib/python2.7/site-packages/tdb.so
> /usr/local/samba/lib/vfs/acl_tdb.so
> /usr/local/samba/lib/vfs/xattr_tdb.so
>
> In /usr/local/samba/lib/private/ I see libtbb.so.1 and libtbd.so.1.3.8
> but not lintdb.so - something the link part skipped, or is it the
> install part?
Seems this has been reported on earlier:
https://lists.samba.org/archive/samba-technical/2016-March/112583.html
and also related to what I am trying now...
https://lists.samba.org/archive/samba-technical/2016-March/112583.html
and I cannot access https://bugzilla.samba.org/show_bug.cgi?id=11765 -
so I guess it is time to stop until I get a hint from someone.
In advance: Thanks for your time!
>
> because in the build area I see:
> root at x069:[/data/prj/samba/samba-4.4.15]find . | grep libtdb
> ./bin/shared/private/libtdb.so.1
> ./bin/shared/private/libtdb-wrap-samba4.so
> ./bin/default/lib/tdb/libtdb.so
> ./bin/default/lib/tdb_wrap/libtdb-wrap-samba4.so
>
> Sigh!
>
> FYI: the blibpath on the smbd is: EXTENSIVE and inaccurate (relative)
>
> 0
> default/source4/lib/socket:default/source4/lib/http:default/source4/libcli:default/libcli/nbt:default/source4/cluster:default/source4/libcli/ldap:default/source4/auth:default/source4/libcli/wbclient:default/source4/lib/messaging:default/nsswitch:default/source4/lib/events:default/lib/tdb_wrap:default/source4/librpc:default/libcli/smb:default/libcli/cldap:default/lib/addns:default/auth/gensec:default/source4/auth/ntlm:default/third_party/popt:default/libds/common:default/nsswitch/libwbclient:default/auth/credentials:default/lib/ldb-samba:default/lib/param:default/source4/auth/kerberos:default/libcli/ldap:default/lib/ldb:default/libcli/registry:default/lib:default/lib/krb5_wrap:default/lib/dbwrap:default/source3/auth:default/lib/tdb:default/auth:default/lib/socket:default/libcli/auth:default/libcli/named_pipe_auth:default/source4/dsdb:default/libcli/security:default/libcli/util:default/librpc:default/source4/heimdal_build:default/dfs_server:default/lib/tevent:default/lib/replace:default/lib/talloc:default/source3:default/lib/util:/usr/local/lib:/opt/lib:/usr/vac/lib:/usr/lib:/lib
> 1 libpthread.a shr_xpg5_64.o
> 2 libsamba-util.so
> 3 libsmbd-base-samba4.so
> ...
> 103 libcli-nbt-samba4.so
> 104 libsmbclient-raw-samba4.so
> 105 libhttp-samba4.so
> 106 libnetif-samba4.so
> 107 libnsl.a shr_64.o
> 108 libc.a shr_64.o
>
> I would hope there is a better way to install shared libraries!
>
>
>
>
>
More information about the samba-technical
mailing list