SUMMARY: i can't figure out this error message from ld

From: Dan Desousa (
Date: Sun Sep 12 1993 - 06:58:48 CDT

The original problem:

I am using Solaris 1.1 on a sparc 10, and fortran 1.3.1.
Compiling with f77 goes okay, but the loader complains:

eos% f77 dmp2atlas.f
ld: Undefined symbol

I can't figure out what to do to fix this. Any suggestions
would be appreciated.

The solution:

The short answer was to include -ldl on the command line
so that the linker would find the dynamic link library.

The preferred solution would be to rebuild the libaries, including
-ldl in the build. I had previously rebuilt so it
would use our DNS. Apparently, the -ldl is missing from the Makefile
in /usr/lib/shlib.etc.

Thanks to the many people who replied:

From: Mr T Crummey (DIJ) <>
From: Andreas Karrer <>
From: Calum Mackay <>
From: (Glenn Satchell - Uniq Professional Services)
From: Pauline van Winsen - Uniq Professional Services <>
From: (Amir J. Katz)
From: (Dr Gareth Barker)
From: Heas <>
From: (Peter Watkins)
From: (Karl-Jose Filler)
From: Colin Macleod <>
From: (Gerard Legendre)
From: (Lynn D. Kissel)
From: Sheila Hollenbaugh <>
From: (Andy Feldt)
From: (John Justin Hough)
From: David Warren <>
From: (Operator)
From: {Darkavich} <>
From: (Ron Hall)
From: Dan Stromberg - OAC-DCS <>
From: odinba!odin! (Jeff Tate)
From: (Russ Poffenberger)
From: Mike Raffety <>

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:10 CDT