AIX static link failing ... Any ideas

samba-technical at thewrittenword.com samba-technical at thewrittenword.com
Tue Jul 3 19:59:45 GMT 2001


On Tue, Jul 03, 2001 at 01:35:23PM +0930, Richard Sharpe wrote:
> Hi folks
> 
> I am trying to link statically on AIX 4.3 (in the build farm) and get 
> the following error message.
> 
>  >aix1$ make testsmbc-static LDFLAGS=-L../../source/bin
>  >Linking testsmbc
>  >/usr/local/bin/ld:/lib/libdl.a: file format not recognized; treating as
>  >linker script
>  >/usr/local/bin/ld:/lib/libdl.a:1: parse error
>  >collect2: ld returned 1 exit status
> 
> Does anyone know how to fix this problem?

I suppose you have binutils on this system (hence /usr/local/bin/ld).
Try /usr/bin/ld. I don't know if binutils ld works on AIX 4.3.x (what
is x in your case?).

-- 
albert chin (china at thewrittenword.com)




More information about the samba-technical mailing list