AIX static link failing ... Any ideas

Michael Sweet mike at
Tue Jul 3 12:00:32 GMT 2001

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

Probably the file is bad/damaged; on our 4.3 system it's a shared
library (shr.o in the archive)

Michael Sweet, Easy Software Products                  mike at
Printing Software for UNIX             

More information about the samba-technical mailing list