Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAMBA 3 on AIX 5.1 CP850.so errors

Status
Not open for further replies.

cgswong

MIS
Nov 27, 2000
202
US
I've installed SAMBA 3 on my AIX server but get the following messages:

aixhost-root..#>./smbclient -L aixhost
[2004/01/19 15:57:07, 0] lib/module.c:do_smb_load_module(58)
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
[2004/01/19 15:57:07, 0] lib/charcnv.c:init_iconv(134)
Conversion from UCS-2LE to CP850 not supported
[2004/01/19 15:57:07, 0] lib/module.c:do_smb_load_module(58)
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
[2004/01/19 15:57:07, 0] lib/charcnv.c:init_iconv(134)
Conversion from UTF8 to CP850 not supported
[2004/01/19 15:57:07, 0] lib/module.c:do_smb_load_module(58)
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
[2004/01/19 15:57:07, 0] lib/charcnv.c:init_iconv(134)
Conversion from ASCII to CP850 not supported
[2004/01/19 15:57:07, 0] lib/module.c:do_smb_load_module(58)
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
[2004/01/19 15:57:07, 0] lib/charcnv.c:init_iconv(134)
Conversion from CP850 to UCS-2LE not supported
Segmentation fault (core dumped)

aixhost-root..#>./testparm -v
Load smb config files from /usr/local/samba/lib/smb.conf
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from UCS-2LE to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from UTF8 to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from ASCII to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from CP850 to UCS-2LE not supported
Segmentation fault (core dumped)

aixhost-root..#>./testparm ../lib/smb.conf
Load smb config files from ../lib/smb.conf
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from UCS-2LE to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from UTF8 to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from ASCII to CP850 not supported
Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: A file or directory in the path name does not exist.
Conversion from CP850 to UCS-2LE not supported
Segmentation fault (core dumped)

What's wrong please and how do I fix it?

The ONE ( HP-UX + Solaris + AIX + Tru64 = Unix)
 
You should be able to ignore these, unless you have dos clients. Haven't done much samba 3, but it appears to be normal. Read these...



Also, these appear to be the correct parameters in your smb.conf

unix charset = iso8859-1
unicode = yes
display charset = iso8859-1
; dos charset = CP850

Matt J.
 
I've been to those pages but they don't say anything much. I don't think these errors can be ignored since any SAMBA executable results in the same thing so it can't be the smb.conf file since it's never read. The other problem is the core dump at the end so the command doesn't work period.

Any more suggestions please, I'm desparate. SAMBA 2.8 binary worked so why isn't SAMBA 3 from source working when it compiled fine?

Thanks.

The ONE ( HP-UX + Solaris + AIX + Tru64 = Unix)
 
If you look in config.log in the source directory you
will see a message similar to:

WARNING: Sufficient support for iconv function was not found.
Install libiconv from for better charset compatibility!

If you have that message Samba will compile, but will not
start and you will get the Conversion from xxx to yyy not supported.

You need to get libiconv.1.9.2.tar.Z from ftp://aixpdslib.seas.ucla.edu/pub/libiconv/RISC/5.1/exec/

and then rerun configure. If all is well you will find output similar to

checking can we convert from CP850 to UCS2-LE?
gcc -o conftest -O2 -D_LARGE_FILES -I/usr/local/include -I/usr
/local/include -L/usr/local/lib conftest.c -liconv >&5
$? = 0
./conftest
$? = 0
result: CP850

checking can we convert from ASCII to UCS2-LE?
gcc -o conftest -O2 -D_LARGE_FILES -I/usr/local/include -I/usr
/local/include -L/usr/local/lib conftest.c -liconv >&5
$? = 0
./conftest
$? = 0
result: ASCII

checking can we convert from UTF-8 to UCS2-LE?
gcc -o conftest -O2 -D_LARGE_FILES -I/usr/local/include -I/usr
/local/include -L/usr/local/lib conftest.c -liconv >&5
$? = 0
./conftest
$? = 0
result: UTF-8

in config.log.

If you are attempting to compile 3.0.0 you need to export LDFLAGS="-liconv " prior to running configure. There is a
problem with the configure script that prevents it from finding the proper libraries. This problem was fixed in 3.0.1. Also, the current version is samba-3.0.2a
 
samba will work without it, no trouble, but you do get a mountain of messages unless you download the iconv stuff, compile it and install it before compiling samba.

i did it just to shut it up :)

Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top