[Samba] Iconv support - Samba 3.0rc2/Solaris 9 (sparc)

Chew, Darren darren.chew at vicscouts.asn.au
Sun Sep 7 05:15:03 GMT 2003


Hi all,

I have just compiled and installed Samba 3.0rc2 on Solaris 9 8/03 using gcc 3.3.
sh makepkg.sh almost crashed the Sun box, as I ran out of swap space in /tmp. I
didn't realise that the binaries were going to be over 800mb. The box came back
after about 5 minutes and I was able to add more swap space using mkfile and
swap -a. I think a warning would be a good idea, otherwise perhaps the pkgtrans
could be performed somewhere on disk instead of in /tmp.

Anyway, during the menus of "pkgadd -d samba.pkg", I was asked if I wanted to
enable SWAT. Which I did, but when I try to open swat in Mozilla this is what I get:

500 Server Error
chdir failed - the server is not configured correctly

Further investigation reveals...

root at thechief2 # tail -f /usr/local/samba/var/log.swat
[2003/09/07 14:24:58, 0] lib/module.c:smb_load_module(40)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1:
swat: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such
file or directory
[2003/09/07 14:24:58, 0] lib/module.c:smb_load_module(40)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1:
swat: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such
file or directory
[2003/09/07 14:24:58, 0] lib/module.c:smb_load_module(40)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1:
swat: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such
file or directory

The following are the iconv related Solaris packages installed:

root at thechief2 # pkginfo|grep iconv|awk '{print $2}'
SMCliconv
SUNWciu8
SUNWciu8x
SUNWhiu8
SUNWhiu8x
SUNWiniu8
SUNWiniu8x
SUNWislcx
SUNWisolx
SUNWjiu8
SUNWjiu8x
SUNWkiu8
SUNWkiu8x
SUNWtiu8
SUNWtiu8x

The following are Sunfreeware packages installed, some of which were used to
comile Samba:

root at thechief2 # for i in `pkginfo|grep SMC|awk '{print $2}'`; do pkginfo -l
$i|egrep 'PKGINST|VERSION'; done
   PKGINST:  SMCautoc
   VERSION:  2.57
   PKGINST:  SMCautom
   VERSION:  1.7.2
   PKGINST:  SMCbison
   VERSION:  1.875
   PKGINST:  SMCflex
   VERSION:  2.5.4a
   PKGINST:  SMCgawk
   VERSION:  3.1.1
   PKGINST:  SMCgcc
   VERSION:  3.3
   PKGINST:  SMCgettext
   VERSION:  0.11.5
   PKGINST:  SMCgrep
   VERSION:  2.5
   PKGINST:  SMClibt
   VERSION:  1.5
   PKGINST:  SMCliconv
   VERSION:  1.8
   PKGINST:  SMCm4
   VERSION:  1.4
   PKGINST:  SMCmake
   VERSION:  3.80
   PKGINST:  SMCperl
   VERSION:  5.8.0
   PKGINST:  SMCpkgc
   VERSION:  0.15.0
   PKGINST:  SMCpopt
   VERSION:  1.7
   PKGINST:  SMCpython
   VERSION:  2.2.2
   PKGINST:  SMCsed
   VERSION:  4.0
   PKGINST:  SMCtar
   VERSION:  1.13.19
   PKGINST:  SMCtop
   VERSION:  3.5beta12.5

Finally, the Solaris release being used.

root at thechief2 # cat /etc/release
                        Solaris 9 8/03 s9s_u4wos_08a SPARC
           Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 13 June 2003

Thanks in advance for any help received.

Darren
-------------------------------------------------
This mail was sent using Scout WebMail
https://webmail.vicscouts.asn.au/




More information about the samba mailing list