Re: Dynamic linking question: neXtaw, Xaw, and Xaw3d

David R. McGown (dmcgown@access.digex.net)
Tue, 15 Oct 1996 17:22:37 -0400 (EDT)

On Tue, 15 Oct 1996, Matthew X. Economou wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
>
> I've downloaded and compiled libneXtaw, a replacement for Athena
> widgets that provides widgets that look like NeXT widgets. *whew*
> Anyway, I compiled the static and shared libraries, copied them to
> /usr/X11R6/lib/, made the relevant symbolic links (and moved the links
> to Xaw and Xaw3d to neXtaw), and rand ghostview to see the NeXT user
> interface in all it's glory.
>
> It didn't work.
>
> I did some checking. Emacs, xgopher, xterm, &c. weren't making use of
> the replacement library either. So I did a file and a ldd on the
> various executables and got something similar to the following:
>

I compiled and am using a similar libXaw replacement, libXaw95 (no groans
please), and had no problems with linking to existing libXaw programs
without recompiling, except for color-xterm. Therefore, I suspect that
there is something wrong cropping up in neXtaw.

You can rename the library in the Makefile to libXaw and recompile. Some
programs check the internally listed name of the library, not just the
library filename. I believe many of the "drop-in" replacement Xaw
libraries are compiled as Xaw, instead of Xaw3d, to avoid linking
problems with existing applications.

David

dmcgown@access.digex.net David R. McGown
dmcgown@va.gibbscox.com -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices