Re: undefined symbol _XmStrings21?
Rodney Sparapani <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
> >On Aug 31, 2004, at 6:40 PM, Stefan Ulrich wrote: > >> Rodney Sparapani <[email protected]> writes: >> >>> I'm trying to compile teTeX 2.96.7.20040721 on Solaris 9. I've >>> done it before so I know it works, but I'm having some trouble >>> since we installed some new libraries in /opt/sfw/lib. I'm hoping >>> someone can tell me which library that this error is coming from >> [...] >>> Undefined first referenced >>> symbol in file >>> _XmStrings21 ./gui/libgui.a(xm_prefs_fonts.o) >> >> Seems like gui/libgui.a has been compiled with a different >> version of the Motif library than the one used in the linking >> step. >> >> Did you remove gui/libgui.a (or called `make distclean') after >> these new libraries in /opt/sfw/lib had been installed? >> >> -- >> Stefan Ulrich Thanks to Stefan for helping me figure this out. This might bite other people using Solaris, so I'll describe the bug. Sun ships alot of free software on what they call the Companion CD which is generally installed some place like /opt/sfw. For the most part, these are things that you really need that should have come with Solaris like autoconf, Tk/Tcl, etc. However, LessTif is also included and that was what bit me. So you need to hide/remove the directory /opt/sfw/include/X11/Xm and the libraries /opt/sfw/lib/libXm.* Rodney Sparapani Medical College of Wisconsin Sr. Biostatistician Patient Care & Outcomes Research [email protected] http://www.mcw.edu/pcor Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do