ld.so error: Undefined symbol: _XtInherit

Michael J. Eager eager at ringworld.Eng.Sun.COM
Wed Oct 24 10:52:55 AEST 1990


In article <10955 at hubcap.clemson.edu> bo at hubcap.clemson.edu (Bo Slaughter) writes:
>After compiling a program, and then trying to run it I get this message:
>
>ld.so: Undefined symbol: __XtInherit
>
>I have both the X11R4 and OpenWindows II libraries.  I have the "-lXt" on 
>my compile statement, I have all the files included that I believe should 
>be included. I have ran ranlib and ldconfig on my libraries to make sure 
>there up to date.
>
>My question is where is XtInherit defined?  Can anyone tell me how to
>fix this?


Check your LD_LIBRARY_PATH setting to make sure that it includes the
path to the library containing Xt.  

-- Mike Eager



More information about the Comp.lang.c mailing list