Software compiled on Solaris 8 with all the latest Security Patches Compiled with Sun Forte 6 Update 2 C compiler. Error meesage follows: ./testparm Load smb config files from /usr/local/samba/lib/smb.conf Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP8 50.so: ld.so.1: ./testparm: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: op en failed: No such file or directory Conversion from UCS-2LE to CP850 not supported Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP8 50.so: ld.so.1: ./testparm: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: op en failed: No such file or directory Conversion from UTF8 to CP850 not supported Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP8 50.so: ld.so.1: ./testparm: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: op en failed: No such file or directory Conversion from ASCII to CP850 not supported Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP8 50.so: ld.so.1: ./testparm: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: op en failed: No such file or directory Conversion from CP850 to UCS-2LE not supported Module '/usr/local/samba/lib/charset/CP850.so' loaded params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/li b/smb.conf": No such file or directory Error loading services. #ls /usr/local/samba/lib/charset 437.so CP850.so
Can you paste the output of 'nm /usr/local/samba/lib/charset/CP850.so' ?
Created attachment 170 [details] output from nm CP850.so nm /usr/local/samba/lib/charset/CP850.so Requested by jelmer@samba.org
I'm working with David Collier-Brown from Sun to get this one solved. In the meanwhile, try to run configure with the option --with-static-modules=charset
Recompiled with ./configure --with-static-modules=charset Added the following to smb.conf hostname lookups = yes encrypt passwords = no Samba 3.0.0 is now usable on Solaris like the old 2.x version. Thanks.
Setting this to 'enhancement'. The workaround works well, though it would be nice to support shared modules on solaris.
Created attachment 314 [details] patch to lib/module.c Hello, in function do_smb_load_module (lib/module.c) dlerror() will not be cleared, if a dlopen has failed ( .../lib/charset/.so ) (and the debug level isn't high ?) The next call to do_smb_load_module will fail !
This patch has already been applied to CVS by Jeremy. This bug will be fixed in the next release.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup
Created attachment 8295 [details] 1