You are not logged in.
i just upgraded samba on my 2 boxes and ran into this problem when restarting the service
[root@$$$ hasan]# /etc/rc.d/samba start
:: Starting Samba Server [BUSY]
/usr/sbin/smbd: error while loading shared libraries: libavahi-client.so.3: cannot open shared object file: No such file or directory [FAIL]
Offline
pacman -S avahi
Offline
cheers, it didn't seem to be installed, installing now.
why didn't pacman install avahi if it's a dependency for samba? :S
Offline
Hi all, I run into the same problem. I tried to `pacman -S --asdep avahi`, but that listed almost 30MB in dependencies:
dbus-core xcb-proto xproto libxdmcp libxau libxcb kbproto libx11 libice libsm dbus libdaemon glib2
While on my desktop Arch Linux this is ok, on another Arch (mini and GUIless, used with CoLinux) this is a no-no.
Is this dependency really necessary? Or it just "slipped" out of control? I'm curious, since I see many GUI-related libraries among these new unchecked deps, and I've never configured Samba in any other way than `nano /etc/samba/smb.conf`, so I suspect this avahi has to do with some leaked requisites from a Samba GUI config tool?
Last edited by ColdShine (2009-04-14 15:19:13)
cs
Offline
Looking further, I found this in Samba's changelog at http://samba.org/samba/history/samba-3.3.3.html :
* Add avahi detection to configure.
* Add event avahi binding.
* Use avahi to register _smb._tcp in smbd.
So it's something new, that I guess went unnoticed through the packager's build run.
Well, I can't wait for this to be fixed (my CoLinux setup relies heavily on Samba), I'll try to customize the PKGBUILD build() to avoid this dependency.
cs
Offline
Well, I can't wait for this to be fixed (my CoLinux setup relies heavily on Samba), I'll try to customize the PKGBUILD build() to avoid this dependency.
Done, I got rid of avahi, swat (the Samba web admin tool) and Active Directory support, resulting in a 25% tarball size drop.
Should anyone want this PKGBUILD, just ask.
cs
Offline