Check the SUBROUTINE statement in your AUX5B.FOR. Does it call itself AUX5B? The linker looks for the names of SUBROUTINEs and FUNCTIONs while the LIBS function deals with file names. Eric Greisen