./configure --prefix=/packages/samba/3.0.20b/any --exec-prefix=/packages/samba/3.0.20b/i386 i386 I get a segmentation fault immediate when running smbd, nmbd, or testparm: -bash-2.05b# testparm /etc/smb.conf Load smb config files from /etc/smb.conf Processing section "[elena]" Segmentation fault -bash-2.05b# gdb /usr/bin/testparm core ... (gdb) where #0 0xb7e00c82 in *__GI___strcasecmp (s1=0x809b43f "ASCII", s2=0x0) at ctype.h:47 #1 0x0807c36f in find_charset_functions () #2 0x0807c82d in smb_iconv_open () #3 0x08056df3 in init_iconv () #4 0x0805548e in lp_load () #5 0x0804c45e in main ()
Looks like you have a bad iconv library. What platform is this (hardware and OS)?
Processor: AMD Athlon(TM) XP 2000+ OS: Linux 2.6.15-rc1-mm2 #1 PREEMPT My iconv library was 1.9.1. I upgraded to 1.10, but it didn't help. ./configure looks for giconv.h and doesn't find it - is this a problem? ./configure doesn't give an error; I just see it in config.log. On the other hand, my testparm, smbd, and nmbd binaries are not dynamically linked against libiconv (and my libiconv does not include a static version). Since 'make' doesn't show the compile/link commands, I can't tell if it's using a built-in iconv, or my system's...
I need your config.log. Thanks.
I've upgraded various things since then (including samba to 3.0.21a), and I can no longer reproduce the problem. I don't think I can add anything else useful - perhaps this should be closed?
ok. Thanks. Closing out.