I've just compiled Samba 3.0.0 on a Solaris 8 system (gcc, if it matters), and whenever I run anything from the samba suite, I get a series of error message about character set conversions: Conversion from UCS-2LE to CP850 not supported Conversion from UTF8 to CP850 not supported ... and about 10 more, all involving CP850 (the "standard" DOS codepage, presumably). Now, obviously I've misconfigured something (iconv?), either at compile time or at run time. Do I need to recompile to fix this, or is it something I need to do in the smb.conf or other control file? I don't really care about character conversions - I'm happy to let Samba do whatever the "default" thing is, if I could just get it to shut up. Any ideas?
John P. Nelson wrote:> I've just compiled Samba 3.0.0 on a Solaris 8 system (gcc, if it > matters), and whenever I run anything from the samba suite, I get a > series of error message about character set conversions: > > Conversion from UCS-2LE to CP850 not supported > Conversion from UTF8 to CP850 not supported > ... > > and about 10 more, all involving CP850 (the "standard" DOS codepage, > presumably). Now, obviously I've misconfigured something (iconv?), > either at compile time or at run time. Do I need to recompile to fix > this, or is it something I need to do in the smb.conf or other > control file? > > I don't really care about character conversions - I'm happy to let > Samba do whatever the "default" thing is, if I could just get it to > shut up. > > Any ideas? >Install libiconv first (either from source or from a package as delivered by sunfreeware.com), then configure --with-libiconv. HTH, J. -- J?r?me Fenal - Consultant Unix/SAN/Logiciel Libre Groupe Expert & Managed Services - LogicaCMG France http://www.logicacmg.com/fr/ - <mailto:jerome.fenal AT logicacmg.com>
Ganguly, Sapan
2003-Dec-11 17:31 UTC
[Samba] Re: Character set conversion problems with 3.0
When I compiled on Solaris 9 this problem seemed to go away if I put in /usr/local/lib in LD_LIBRARY_PATH and then re-compiled. I'm not entirely sure that's what fixed it but you could try it if you want. -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: 11 December 2003 17:26 To: J?r?me Fenal Cc: samba@lists.samba.org Subject: Re: [Samba] Re: Character set conversion problems with 3.0 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J?r?me Fenal wrote: | John P. Nelson wrote: | |> I've just compiled Samba 3.0.0 on a Solaris 8 system (gcc, if it |> matters), and whenever I run anything from the samba suite, I get a |> series of error message about character set conversions: |> |> Conversion from UCS-2LE to CP850 not supported |> Conversion from UTF8 to CP850 not supported |> ... |> |> and about 10 more, all involving CP850 (the "standard" DOS codepage, |> presumably). Now, obviously I've misconfigured something (iconv?), |> either at compile time or at run time. Do I need to recompile to fix |> this, or is it something I need to do in the smb.conf or other |> control file? |> |> I don't really care about character conversions - I'm happy to let |> Samba do whatever the "default" thing is, if I could just get it to |> shut up. |> |> Any ideas? |> | Install libiconv first (either from source or from a package as | delivered by sunfreeware.com), then configure --with-libiconv. or try 3.0.1rc2. We've added some internal code to work around common character set issues like these. cheers, jerry - ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/2KiKIR7qMdg1EfYRAqGZAJ0duaBZOxhGJvvn5JDcvBCikR9AUQCgmvbP y/2BA56Co7R4m1s3wuik0M0=i/uv -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
John P. Nelson
2003-Dec-11 19:47 UTC
[Samba] Re: Character set conversion problems with 3.0
>> ... Samba 3.0.0 on a Solaris 8 ... >> >> Conversion from UTF8 to CP850 not supported >> ... >> >Install libiconv first (either from source or from a package as >delivered by sunfreeware.com), then configure --with-libiconv.I would have done that, but Solaris 8 already HAS something called "iconv". There is an iconv.h, and libc has functions "iconv", "iconv_open", "iconv_close", and there's a support directory /usr/lib/iconv. Are you saying that I need to get a libiconv that is something different than this? Besides, I don't CARE about character set conversions. If "configure" didn't think I had proper iconv support, why doesn't Samba just silently skip doing character conversions? Can I run configure with --without-libiconv to get Samba to be quiet?