Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba on Gentoo-arm [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Fri Aug 28, 2020 7:24 pm    Post subject: samba on Gentoo-arm [SOLVED] Reply with quote

Hi,

I am trying to get samba to run on my raspi4.

When I do:
Code:

/etc/init.d/samba start

I get:
Code:

* samba -> start: smbd ...
/usr/sbin/smbd: error while loading shared libraries: libtracker-sparql-2.0.so.0: cannot open shared object file: No such file or directory
 * start-stop-daemon: failed to start `/usr/sbin/smbd'                                   [ !! ]
 * samba -> start: nmbd ...
 * start-stop-daemon: failed to start `/usr/sbin/nmbd'                                   [ !! ]
 * Error: starting services (see system logs)
 * samba -> stop: smbd ...
 * start-stop-daemon: no matching processes found                                        [ ok ]
 * samba -> stop: nmbd ...
 * start-stop-daemon: no matching processes found                                        [ ok ]
 * ERROR: samba failed to start

Code:

# eselect profile list
Available profile symlink targets:
  [1]   default/linux/arm64/17.0 (stable)
  [2]   default/linux/arm64/17.0/desktop (stable)
  [3]   default/linux/arm64/17.0/desktop/gnome (stable)
  [4]   default/linux/arm64/17.0/desktop/gnome/systemd (stable)
  [5]   default/linux/arm64/17.0/desktop/plasma (stable)
  [6]   default/linux/arm64/17.0/desktop/plasma/systemd (stable)
  [7]   default/linux/arm64/17.0/desktop/systemd (stable)
  [8]   default/linux/arm64/17.0/developer (stable)
  [9]   default/linux/arm64/17.0/systemd (stable)
  [10]  default/linux/arm64/17.0/big-endian (exp)
  [11]  default/linux/arm64/17.0/musl (exp)
  [12]  default/linux/arm64/17.0/musl/hardened (exp)
  [13]  genpi64:default/linux/arm64/13.0/desktop/rpi3 (exp)
  [14]  genpi64:default/linux/arm64/17.0/desktop/rpi3 (exp)
  [15]  genpi64:default/linux/arm64/17.0/desktop/genpi64 (exp) *



What am i doing wrong and how do I fix it?

Thanks,
donjames


Last edited by donjames on Fri Aug 28, 2020 10:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46728
Location: 56N 3W

PostPosted: Fri Aug 28, 2020 9:01 pm    Post subject: Reply with quote

donjames,

Code:
/usr/sbin/smbd: error while loading shared libraries: libtracker-sparql-2.0.so.0: cannot open shared object
is a hint that
libtracker-sparql-2.0.so.0 is not installed or installed but broken

Google lead me to https://forums.gentoo.org/viewtopic-t-1093924-start-0.html
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Fri Aug 28, 2020 9:06 pm    Post subject: samba on Gentoo-arm Reply with quote

NeddySeagoon wrote:
donjames,

Code:
/usr/sbin/smbd: error while loading shared libraries: libtracker-sparql-2.0.so.0: cannot open shared object
is a hint that
libtracker-sparql-2.0.so.0 is not installed or installed but broken

Google lead me to https://forums.gentoo.org/viewtopic-t-1093924-start-0.html


Hi,

I got samba to work using this emerge:[/code]
Code:

USE="acl addc addns ads client cluster cups debug ldap pam python snapper syslog zeroconf"   emerge -v samba





Regards,
donjames
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46728
Location: 56N 3W

PostPosted: Fri Aug 28, 2020 11:03 pm    Post subject: Reply with quote

donjames,

Having built samba
Code:
arm64-build / # eix samba
[I] net-fs/samba
     Available versions:  4.11.11^t (~)4.12.6^t{tbz2} **4.13.0_rc2^t {acl addc addns ads ceph client cluster cups debug dmapi fam gpg iprint json ldap pam profiling-data python quota selinux snapper syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_6 python3_7 python3_8 python3_9"}
     Installed versions:  4.12.6^t{tbz2}(23:48:10 28/08/20)(acl client cups ldap pam system-mitkrb5 -addc -addns -ads -ceph -cluster -debug -dmapi -fam -gpg -iprint -json -profiling-data -python -quota -selinux -snapper -syslog -system-heimdal -systemd -test -winbind -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="-32 -64 -x32" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8")

it did not pull in libtracker-sparql-2.0.so.0
Code:
arm64-build / # equery b libtracker-sparql-2.0.so.0
 * Searching for libtracker-sparql-2.0.so.0 ...
arm64-build / #


It won't run as its not configured.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ross_cc
n00b
n00b


Joined: 29 Jul 2020
Posts: 17
Location: Manila

PostPosted: Mon Aug 31, 2020 9:40 am    Post subject: Reply with quote

maybe try
Code:
emerge -1 app-misc/tracker
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum