On Thu, Jan 07, 1999 at 01:33:01AM -0800, Marat Boshernitsan wrote:
I could not get a module that was linked with another shared library
to
load until I added -export-dynamic flag to gnu linker when building
xemacs executable (-Wl,-export-dynamic to gcc). This is on Linux, but I
suspect that other systems will require something similar (btw, non-gnu
linkers, e.g. Solaris, will do The Right Thing by default).
Actually, they
won't. They need -Bexport (or -Wl,-Bexport with gcc). The
autoconf script SHOULD have picked up that -export-dynamic was required.
In my tests, it did. Please look at src/Makefile and tell me what the
macro for ld_dynamic_link_flags was set to. If it is empty, please send
me your config.log (just to me, not the entire list). Thanks.
--
J. Kean Johnston | "If equal affection cannot be,
Engineer, SPG | let the more loving one be me" - W.H. Auden
Santa Cruz, CA +----------------------------------------------------------
Tel: 831-427-7569 Fax: 831-429-1887 E-mail: jkj(a)sco.com