LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2014, 03:58 PM   #1
aagaag
Member
 
Registered: Aug 2014
Posts: 40

Rep: Reputation: Disabled
Samba failing in Arch Linux


I have installed Samba via pacman, uninstalled, reinstalled via Yaourt, and in all cases I cannot get it to start. The error message is:
Code:
/usr/bin/samba: error while loading shared libraries: libwinbind-client.so: cannot open shared object file: No such file or directory
I have done:
Code:
 pacman -S libwinbind-client libldap ldb libaio libbsd
to no avail.cCan a good soul point me to what I should do next? I'd be eternally grateful if I can get Samba to work!
 
Old 12-22-2014, 04:23 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
Please don't use Yaourt -- it frequently causes problems (search the Arch forums).

If you have to install from the AUR just download the tarball, unpack it with `tar xf` then run `makepkg -fics` to install it -- it's not at all complicated.
https://wiki.archlinux.org/index.php...lling_packages

To keep on top of updates, you could use cower or burp.

I don't use SAMBA, so all I can offer is this link:
https://wiki.archlinux.org/index.php/Samba

I strongly recommend that you follow this excellent guide carefully -- this will probably solve any problems.
 
Old 12-22-2014, 09:50 PM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,254

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
Agreed ... Arch wiki information should sort you out
 
Old 12-23-2014, 05:44 AM   #4
aagaag
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Thanks for your advice. However, reinstalling Samba with pacman leads to the same error. I am starting to despair. Everybody says that Linux is so much more reliable than Windows, but I never had an issue like this with a Windows computer...
 
Old 12-23-2014, 06:49 AM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,254

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
Quote:
but I never had an issue like this with a Windows computer
Really ... and just how many Windows machines have you installed samba on?

So to clarify, you have installed Samba with pacman and immediately hit an error with the install?

Previously it was an error starting Samba ... which I take it you have already started the service and edited any necessary config files prior to doing so?

Assuming all of the above is correct you may need to provide more information as to what it is you are doing when receiving the error?
 
Old 12-23-2014, 07:40 AM   #6
aagaag
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Sorry for my glib remark, and thanks for your continued help which is appreciated. After the install, systemctl status shows that the service did not start because the library mentioned above cannot be read.
 
Old 12-23-2014, 11:51 AM   #7
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,254

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
hmmm ... it does seem odd

Maybe try doing a complete removal, refresh and reinstall:
Code:
pacman -Rs samba
pacman -Scc
pacman -Syy
pacman -S samba
I have checked my copy and the required library comes from the package libwbclient, so after above and fresh install, make sure this was also installed
 
Old 12-23-2014, 03:21 PM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Originally Posted by grail View Post
hmmm ... it does seem odd

Maybe try doing a complete removal, refresh and reinstall:
Code:
pacman -Rs samba
pacman -Scc
pacman -Syy
pacman -S samba
I have checked my copy and the required library comes from the package libwbclient, so after above and fresh install, make sure this was also installed
Do not perform a `pacman -Syy` without updating the system.
From the ArchWiki:
Quote:
Arch Linux is a rolling release, and new library versions will be pushed to the repositories. The developers and Trusted Users will rebuild all the packages in the repositories that need to be rebuilt against the libraries. If the system has locally installed packages (such as AUR packages), users will need to rebuild them when their dependencies receive a soname bump.

This means that partial upgrades are not supported. Do not use pacman -Sy package or any equivalent such as pacman -Sy and then pacman -S package.
https://wiki.archlinux.org/index.php...re_unsupported

You should use this instead:
Code:
# pacman -Syyu samba
It is entirely possible that your library problems are a result of using partial upgrades...

Last edited by Head_on_a_Stick; 12-23-2014 at 03:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Arch linux as Mac Time Machine server - write access disable journaling failing psycroptic Linux - Hardware 7 04-10-2014 02:26 AM
[SOLVED] How to compile only specific arch code (linux-3.8.2/arch/x86) ?. abdulrahuman.s@gmail.com Linux - Kernel 6 05-18-2013 05:09 PM
LXer: Arch BSD: Arch Linux Atop The FreeBSD Kernel LXer Syndicated Linux News 0 01-24-2013 04:20 PM
[SOLVED] Trying to share Internet between Ubuntu and Arch, failing to keep settings MrCode Linux - Networking 4 02-08-2010 07:38 AM
First time linux user- getting the internet to work on new build (arch linux/samba??) mothergoose729 Linux - Networking 0 08-27-2008 10:14 PM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration