You are not logged in.

#1 2010-01-20 17:25:16

coder
Member
From: Hungary, Veszprém
Registered: 2009-10-30
Posts: 12
Website

Samba install error

Hi!

I've just installed samba with pacman (pacman -Sy samba)
When it finished, I started the smbd using the command: /etc/rc.d/samba start

The result was:

/usr/sbin/smbd: /usr/lib/libasn1.so.8: no version information available (required by /usr/sbin/smbd)
/usr/sbin/smbd: /usr/lib/libkrb5.so.25: version `HEIMDAL_KRB5_2.0' not found (required by /usr/sbin/smbd)
/usr/sbin/nmbd: /usr/lib/libasn1.so.8: no version information available (required by /usr/sbin/nmbd)
/usr/sbin/nmbd: /usr/lib/libkrb5.so.25: version `HEIMDAL_KRB5_2.0' not found (required by /usr/sbin/nmbd)

The directory /usr/lib contains all the files.

Help me, please!

Thx!

Offline

#2 2010-01-20 18:24:17

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Samba install error

[fp@viron ~]$ pacman -Qo /usr/lib/lib{asn1.so.8,krb5.so.25}
/usr/lib/libasn1.so.8 is owned by heimdal 1.3.1-2
/usr/lib/libkrb5.so.25 is owned by heimdal 1.3.1-2
[fp@viron ~]$ md5sum /var/cache/pacman/pkg/heimdal-1.3.1-2-i686.pkg.tar.gz
4cb8a24611b719cdd83dcb5b7f9ffed8  /var/cache/pacman/pkg/heimdal-1.3.1-2-i686.pkg.tar.gz
[fp@viron ~]$ ls -lh /var/cache/pacman/pkg/heimdal-1.3.1-2-i686.pkg.tar.gz
-rw-r--r-- 1 root root 2.9M Dec 13 20:26 /var/cache/pacman/pkg/heimdal-1.3.1-2-i686.pkg.tar.gz

See if your package is the latest version. Try refreshing, reinstalling the package, and changing your mirror if necessary. Pacman checks file integrity, so I don't see how you could have installed a corrupt package. Look at dmesg to see if you have disk errors, the files may not have been written to disk correctly.

Offline

#3 2010-01-20 18:29:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Samba install error

this is why is not good to do pacman -Sy package.

pacman -Syu and then pacman -S samba.


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-01-20 22:05:36

coder
Member
From: Hungary, Veszprém
Registered: 2009-10-30
Posts: 12
Website

Re: Samba install error

Wonder's solution works!
Could you explain why -Sy is not good?

Thanks, and all of you too!

Offline

#5 2010-01-20 22:16:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Samba install error

coder wrote:

Wonder's solution works!
Could you explain why -Sy is not good?

Thanks, and all of you too!

you had luck

samba has:
Depends On     : db>=4.7  popt  libcups  acl  libldap  smbclient>=3.4.5  libcap>=2.16 heimdal>=1.2-1  pam  fam  gnutls>=2.4.1  e2fsprogs  tdb  talloc

and heimdal didn't get updated to 1.3.1. if he did that then your system had been broken since not all packages were updated to link the new package.


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB