Just did a fresh install of 32 bit PiCorePlayer 8. All working ok EXCEPT
SAMBA 4 is broken. Doing an install from the web-based interface. SAMBA
stalls perfectly with no errors. Except that it won't start. I have done
some investigating and discovered that the SAMBA4 version is NOT all the
runtime dynamic libraries necessary to run.

1. smbd requires the p11-kit.tcz extension to be installed. This is a
dependency for samba4 that was NOT installed. I installed it manually
2. Once I installed p11-kit.tcz, I ran smbd manually and got the
following:

root@musicbox:/tmp/tcloop/samba4/usr/local/etc/init.d# ./samba4 start
Starting SAMBA...
/usr/local/sbin/smbd: error while loading shared libraries:
libnettle.so.7: cannot open shared object file: No such file or
directory
/usr/local/sbin/nmbd: error while loading shared libraries:
libnettle.so.7: cannot open shared object file: No such file or
directory

3. I then installed the nettle.tcz extension. This is a dependency for
samba4 that was NOT installed.
4. I tried to start Samba again, NO LUCK
5. I check to see exactly what libraries nettle.tcz actually installed:

root@musicbox:/tmp/tcloop/samba4/usr/local/etc/init.d# ls -l
/usr/local/lib/libnett*
lrwxrwxrwx    1 root     root            45 Jul 12 21:35
/usr/local/lib/libnettle.so ->
/tmp/tcloop/nettle/usr/local/lib/libnettle.so
lrwxrwxrwx    1 root     root            47 Jul 12 21:35
/usr/local/lib/libnettle.so.8 ->
/tmp/tcloop/nettle/usr/local/lib/libnettle.so.8
lrwxrwxrwx    1 root     root            49 Jul 12 21:35
/usr/local/lib/libnettle.so.8.1 ->
/tmp/tcloop/nettle/usr/local/lib/libnettle.so.8.1

6. As you can plainly see it installed the incorrect version of the
libraries for both smbd & nmbd
7. Samba4 needs to be rebuilt against the CORRECT version of the
libraries.

Hoping the PiCore developers see this email and SAMBA4 gets fixed.


------------------------------------------------------------------------
BigA507's Profile: http://forums.slimdevices.com/member.php?userid=70420
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to