Summary: Samba upgrade problem 'smbd -V' gives fatal: libiconv.so.2: open failed

2007-12-25 5:09:00

Hi,

Thanks again for the 20 odd responses which say something like :

Go back to SunFreeware and have a look at the Samba
link. There are a number of other packages listed as
pre-reqs :
"To use samba, you must also have installed the popt,
libiconv, readline, ncurses and either the libgcc-3.3
or the gcc-3.3.2 packages."

Thanks to Mr E for pointing out that SunFire 120 is actually
64bit as given by the command "isainfo -kv"

I'll try out the copy of 64bit Samba from one other website that's
version 3.0.13 & install "libiconv, readline, ncurses & libgcc-3.3"
from SunFreeware to see if it works.


Thanks

Gold Sun <goldsun8 at yahoo.com.sg> wrote:
Hi,

I've used the 3.0.10 Samba version from sunfreeware site which
I've managed to
'pkgadd -d ./samba-3.0.10-sol9-sparc-local.pkg'
but unfortunately I have a problem with this new installation :
# pwd
/usr/local/samba/sbin
# ./smbd -V
ld.so.1: ./smbd: fatal: libiconv.so.2: open failed: No such file or directory
Killed

Did I miss anything like I have to do pkgrm of the older version
1st & after the pkgadd, I have to transfer the .conf file etc to
the correct directory /usr/local/samba/... ?

My old version is probably still there as I've not done pkgrm.

Before the upgrade, I've done pkginfo -l & I've extracted the
relevant lines from this output :

PKGINST: SUNWsmbac
NAME: samba - A Windows SMB/CIFS fileserver for UNIX (client)
CATEGORY: system
ARCH: sparc
VERSION: 11.9.0,REV=2002.03.02.00.35

PKGINST: SUNWsmbar
NAME: samba - A Windows SMB/CIFS fileserver for UNIX (Root)
CATEGORY: system
ARCH: sparc
VERSION: 11.9.0,REV=2002.03.02.00.35

PKGINST: SUNWsmbau
NAME: samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
CATEGORY: system
ARCH: sparc
VERSION: 11.9.0,REV=2002.03.02.00.35

Thanks for any help

--------------------------------------------------------------------------------------------

Some outputs/commands which issued as per the security notice
previously on the old version :

To determine if a system is configured as a Samba server, use the following comm
and to check for the presence of the smb.conf(4) file:
% ls -l /etc/sfw/smb.conf
-rw-r--r-- 1 root other 11665 Sep 28 16:37 /etc/sfw/smb.conf
If the output is similar to that shown above, the system is configured as a Samb
a server.
To determine the version of Samba installed on a system, the following command c
an be run:
% /usr/sfw/sbin/smbd -V
Version 2.2.8a on BOS svr

Send instant messages to your online friends http://asia.messenger.yahoo.com

Comments

Got something to say?

You must be logged in to post a comment.