[Buildroot] [PATCH 2/2] samba4: bump to version 4.2.0

Gustavo Zacarias gustavo at zacarias.com.ar
Fri Apr 10 12:16:02 UTC 2015


On 04/09/2015 05:20 PM, Waldemar Brodkorb wrote:

> uClibc-ng has $ORIGIN support. Can you test it with samba4?

Yes, and it fails to work, snip:

-----
# /etc/init.d/S91smb start
Starting SMB services: /usr/sbin/smbd: can't load library 'libtalloc.so.2'
FAIL
Starting NMB services: /usr/sbin/nmbd: can't load library 'libtalloc.so.2'
FAIL
# ls -l /lib/*uClibc*
-rwxr-xr-x    1 root     root         25304 Apr  9  2015
/lib/ld-uClibc-1.0.1.so
lrwxrwxrwx    1 root     root            14 Apr  9  2015
/lib/ld-uClibc.so.0 -> ld-uClibc.so.1
lrwxrwxrwx    1 root     root            18 Apr  9  2015
/lib/ld-uClibc.so.1 -> ld-uClibc-1.0.1.so
-rwxr-xr-x    1 root     root        367544 Apr  9  2015
/lib/libuClibc-1.0.1.so
# ls -l /usr/lib/samba/libtalloc*
lrwxrwxrwx    1 root     root            18 Apr  9  2015
/usr/lib/samba/libtalloc.so.2 -> libtalloc.so.2.1.1
-rwxr-xr-x    1 root     root         19396 Apr  9  2015
/usr/lib/samba/libtalloc.so.2.1.1
-----

On the build machine:
$ readelf -d ?mbd|grep RPATH
 0x0000000f (RPATH)                      Library rpath: [/usr/lib/samba]
 0x0000000f (RPATH)                      Library rpath: [/usr/lib/samba]

So, it's not up to it yet.

Regards.



More information about the buildroot mailing list