You are not logged in.

#1 2009-04-13 01:58:59

hasan
Member
Registered: 2007-10-26
Posts: 2

samba 3.3.3-1 i686 issue

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

#2 2009-04-13 04:56:54

root_tux_linux
Member
From: Basel, Switzerland
Registered: 2005-01-01
Posts: 53
Website

Re: samba 3.3.3-1 i686 issue

pacman -S avahi

wink

Offline

#3 2009-04-14 11:34:30

hasan
Member
Registered: 2007-10-26
Posts: 2

Re: samba 3.3.3-1 i686 issue

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

#4 2009-04-14 14:44:55

ColdShine
Member
From: Roma, Italia
Registered: 2009-04-14
Posts: 3

Re: samba 3.3.3-1 i686 issue

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

#5 2009-04-14 16:31:11

ColdShine
Member
From: Roma, Italia
Registered: 2009-04-14
Posts: 3

Re: samba 3.3.3-1 i686 issue

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

#6 2009-04-15 11:34:20

ColdShine
Member
From: Roma, Italia
Registered: 2009-04-14
Posts: 3

Re: samba 3.3.3-1 i686 issue

ColdShine wrote:

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

Board footer

Powered by FluxBB