Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!sun-barr!newstop!sun!kimba!hvr From: hvr@kimba.Sun.COM (Heather Rose) Newsgroups: comp.windows.x Subject: Re: Problem with XView programs ... ld.so running into trouble. Message-ID: <133166@sun.Eng.Sun.COM> Date: 20 Mar 90 18:08:12 GMT References: <4871@ucrmath.UCR.EDU> Sender: news@sun.Eng.Sun.COM Reply-To: hvr@sun.UUCP (Heather Rose) Organization: Sun Microsystems, Mountain View Lines: 44 In article <4871@ucrmath.UCR.EDU> yakker@spahn.ucr.edu (Matt D. Robinson) writes: >I am having some trouble running some of the XView programs on our systems. >We created some new programs using the XView conversion program, compiled >them perfectly, and then installed them. The problem we ran into was this: > ><351 src@charity .../conversion/monthtool> /usr/local/bin/X11/xmonth >ld.so: Undefined symbol: __XtInherit > >We first checked the libraries to see if the source was in it's proper area. >It was. The nm on the sharedlib.o file in libXt.sa.4.0 produced : > ><355 src@charity .../XView/XView> ar x /usr/local/lib/libXt.sa.4.0 sharedlib.o ><358 src@charity .../XView/XView> nm sharedlib.o >00000050 T _XtAppInitialize >00000028 T _XtInitialize >00000014 T _XtToolkitInitialize > U __XtAppInitialize >00000000 T __XtInherit > U __XtInitialize > U __XtToolkitInitialize > U ___XtInherit > >This showed that the procedure was in the right place, but wasn't showing up when >the libraries were called by the program. This leads me to think that there is >something hard-coded somewhere in the libraries to suggest only /usr/lib can be >called. Can someone point me in the right direction on this? > >Also, two other things. One, I can run clock correctly using XView, but not monthtool >or suntetris. Two, why are the programs almost a meg big? Is a patch available for >this yet? Compile XView programs like this: cc -o foo foo.c -lxview -lX11 that should get rid of the problems with XtInherit. XView does not use Xt. I am not familiar with either monthtool or suntetris. What toolkit do they use, SunView? Xt? XView? __________________________________________________________________ Heather Rose Window Systems Group internet: hrose@sun.com Sun Microsystems, Inc. uucp: ...!sun!hrose