Summary: libdl wierdness

From: Dave Sill (de5@stc06.ctd.ornl.gov)
Date: Tue Mar 17 1992 - 13:48:41 CST


I asked why loads were suddenly failing with unresolved references to
the libdl functions dlopen, dlclose, and dlsys. I received several
correct responses.

Here's one:

------- Start of forwarded message -------
From: Christopher Davis <ckd@eff.org>
Date: Mon, 16 Mar 1992 16:25:55 -0500

Did you rebuild shared libraries recently? ;-)

Add an '-ldl' to /usr/lib/shlib.etc/Makefile, and rebuild 'em. We had
the same problem.

Change both occurrences of

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp`

to

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
------- End of forwarded message -------

That fixed the problem. Thanks to everyone who replied.

--
Dave Sill (de5@ornl.gov)	         "Nobody likes nuclear bombs.
Martin Marietta Energy Systems            We're trying to get rid of them."
Workstation Support                                  -DOE Sec'y James Watkins



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:38 CDT