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
dmp2atlas.f:
MAIN:
ld: Undefined symbol
_dlopen
_dlclose
_dlsym
eos%
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 libc.so.1.8.1 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) <tom@sees.bangor.ac.uk>
From: Andreas Karrer <karrer@bernina.ethz.ch>
From: Calum Mackay <calum.mackay@mrc-bsu.cam.ac.uk>
From: glenn@uniq.com.au (Glenn Satchell - Uniq Professional Services)
From: Pauline van Winsen - Uniq Professional Services <pauline@uniq.com.au>
From: hans@jet.let.vu.nl
From: amir@matis.ingr.com (Amir J. Katz)
From: gareth@nmr.ion.bpmf.ac.uk (Dr Gareth Barker)
From: Heas <heas@chpc.org>
From: peter@jrc.nl (Peter Watkins)
From: pla_jfi@pki-nbg.philips.de (Karl-Jose Filler)
From: gdmr@dcs.ed.ac.uk
From: Colin Macleod <cmacleod@mcs.dundee.ac.uk>
From: legendre@meteo.fr (Gerard Legendre)
From: abeckett@fmlrnd.co.uk
From: randy%sisdbell@logicon.com
From: lkissel@ufo.llnl.gov (Lynn D. Kissel)
From: Sheila Hollenbaugh <shollen@valhalla.cs.wright.edu>
From: feldt@phyast.nhn.uoknor.edu (Andy Feldt)
From: john@oncology.uthscsa.edu (John Justin Hough)
From: David Warren <warren@atmos.washington.edu>
From: root@cas.ds.boeing.com (Operator)
From: {Darkavich} <steve@wintermute.ucsd.edu>
From: thorn@amaretto.cc.mcgill.ca (Ron Hall)
From: Dan Stromberg - OAC-DCS <strombrg@hydra.acs.uci.edu>
From: odinba!odin!jeff@uunet.uu.net (Jeff Tate)
From: poffen@sj.ate.slb.com (Russ Poffenberger)
From: Mike Raffety <miker@il.us.swissbank.com>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:10 CDT