You are not logged in.

#1 2008-07-09 12:19:43

smcsw2000
Member
Registered: 2007-06-22
Posts: 130

libpam.so.0(solved)

I am trying to get cups and samba to work but they will not connect. So I tried to restart with the following results
[root@cmehil andrew]# /etc/rc.d/samba start
:: Starting Samba Server                                                                                [BUSY] /usr/sbin/smbd: /lib/libpam.so.0: no version information available (required by /usr/sbin/smbd)
[root@cmehil andrew]# /etc/rc.d/cups restart
:: Stopping CUPS Daemon                                                                                 [DONE]
:: Starting CUPS Daemon                                                                                 [BUSY] /usr/sbin/cupsd: /lib/libpam.so.0: no version information available (required by /usr/sbin/cupsd)
so checking other forum questions I tried updating samba
[root@cmehil andrew]# pacman -S samba
resolving dependencies...
looking for inter-conflicts...

Targets: smbclient-3.0.30-1  samba-3.0.30-1
db
Targets: db-4.6.21-2
heimdal
Targets: heimdal-1.0.1-2
I checked /lib and found
libpam.so                     33.6kb
libpam.so.0                  33.6kb
libpam.so.0.81              33.6kb
I tried ldd and got
[root@cmehil andrew]# ldd /usr/sbin/cupsd
/usr/sbin/cupsd: /lib/libpam.so.0: no version information available (required by /usr/sbin/cupsd)
        linux-gate.so.1 =>  (0xb7f18000)
        libz.so.1 => /lib/libz.so.1 (0xb7ee8000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7e7b000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7e6b000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e19000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e15000)
        libslp.so.1 => /usr/lib/libslp.so.1 (0xb7e06000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7dfd000)

It seems things are up to date, so how do I get the version information to the correct place?

Last edited by smcsw2000 (2008-07-10 23:23:49)

Offline

#2 2008-07-09 23:07:32

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: libpam.so.0(solved)

Do you have a /lib/libpam.so.0.81.12 ?

$ ls /lib/libpam.so*
/lib/libpam.so  /lib/libpam.so.0  /lib/libpam.so.0.81.12

If not, try reinstalling pam.

Offline

#3 2008-07-10 00:47:13

smcsw2000
Member
Registered: 2007-06-22
Posts: 130

Re: libpam.so.0(solved)

Tried
andrew@cmehil ~]$ ls /lib/libpam.so*
/lib/libpam.so  /lib/libpam.so.0  /lib/libpam.so.0.81
checked /lib/libpam and found that libpam.so is a link to libpam.so.0, and libpam.so.0 is a link to libpam.so.81.  Could libpam.so.81 be corrupt and is there a way to check if it is?

Offline

#4 2008-07-10 04:14:55

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: libpam.so.0(solved)

smcsw2000 wrote:

Could libpam.so.81 be corrupt and is there a way to check if it is?

Yes, it may be corrupt.  That's why Snowman suggested reinstalling pam.

Offline

#5 2008-07-10 11:17:04

smcsw2000
Member
Registered: 2007-06-22
Posts: 130

Re: libpam.so.0(solved)

Is there a way to get a single file? (libpam.so.0.81.12) If i pacman -S pam will that overwrite the file or will that only update files that are not up to date? Or should I delete libpam and then pacman -S pam?

Offline

#6 2008-07-10 11:37:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: libpam.so.0(solved)

"pacman -S pam" will overwrite all files from the pam package (apart from those in the backup array)

Online

#7 2008-07-10 23:24:30

smcsw2000
Member
Registered: 2007-06-22
Posts: 130

Re: libpam.so.0(solved)

did pacman -s pam and it worked solved the corrupt file.

Offline

Board footer

Powered by FluxBB