Samba 3.0.0rc3 on Solaris 8 -- unexpecfte diagnostice

David Collier-Brown -- Customer Engineering David.Collier-Brown at Sun.COM
Mon Sep 15 20:10:12 GMT 2003


Jelmer Vernooij wrote:
 >
 > Can you run nm or something similar on CP850.so to check whether
 > init_module is exported correctly ?
 >
 > Jelmer
 >


I just compiled RC4, so here goes:

$ nm CP850.so | head


CP850.so:

[Index]   Value      Size    Type  Bind  Other Shndx   Name

[29]    |         0|       0|SECT |LOCL |0    |28     |
[28]    |         0|       0|SECT |LOCL |0    |27     |
[27]    |         0|       0|SECT |LOCL |0    |26     |
[26]    |         0|       0|SECT |LOCL |0    |25     |
<many lines cut>
[67]    |      2872|      28|FUNC |GLOB |0    |10     |_init
[58]    |      2860|       0|FUNC |LOCL |0    |9      |init_dummy
[41]    |      2028|       0|FUNC |LOCL |0    |9      |init_dummy
[69]    |      2676|      68|FUNC |GLOB |0    |9      |init_module


So it's in the namelist, but

  $ ./smbclient //elsbeth/davecb
Error trying to resolve symbol 'init_module' in 
/usr/local/samba/lib/charset/CP850.so: ld.so.1: ./smbclient: fatal: 
/usr/local/samba/lib/charset/646.so: open failed: No such file or 
directory


Hmmn, I may have an idea, let me check on #pragma init tomorrow:
this may merely be a Solaris porting problem...

--dave


-- 
David Collier-Brown,       | Always do right. This will gratify
Sun Microsystems,          | some people and astonish the rest.
Toronto, Ontario,          |                      -- Mark Twain
(905) 415-2849 or x52849   | davecb at canada.sun.com





More information about the samba-technical mailing list