Fail to load shared objects on AIX

Heinrich Mislik Heinrich.Mislik at univie.ac.at
Mon Jan 21 10:54:18 GMT 2008


On 19 Jan 2008 at 19:30, Volker Lendecke wrote:

> On Thu, Jan 17, 2008 at 01:11:28PM +0100, Heinrich Mislik wrote:
> 
> > > ._talloc_realloc     T   268559344
> > > ._talloc_realloc_array T   268554040
> > > ._talloc_realloc_array at AF90_40 t   268579484
> > > 
> > > Similarly for the other symbols.
> > 
> > Always use dump -Tv on AIX to get the true story. Depending on
> your 
> > object_mode
> > the -X32 or -X64 flag my be required.
> > 
> > As an example:
> > 
> > dump -Tv -X64 lib/vfs/readonly.so
> > 
> > gives
> 
> Thanks for those hints. Indeed smbd does not export
> _talloc_realloc_array if I look at it with dump -Tv.
> 
> But -- WHY??
> 
> It for example does export talloc_free(), and I don't have
> the slightest clue what the difference between those two
> might be.

Samba uses the -bexpall option. This option does not export symbols
starting with "_". For details and other options see:

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.ai
x.cmds/doc/aixcmds3/ld.htm

Cheers

Heinrich
-- 
Heinrich Mislik
Zentraler Informatikdienst der Universitaet Wien
A-1010 Wien, Universitaetsstrasse 7
Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140



More information about the samba-technical mailing list