stripes@eng.umd.edu (Joshua Osborne) (01/17/90)
I have X11R4 installed in /usr/local/X11R4. All the mit clients work. When I did the conrrib clients the first time I got a message to run ranlib on /usr/local/X11R4/lib/libXt.sa.4.0. The message is: ld: /usr/local/X11R4/lib/libXt.sa.4.0: warning: table of contents for archive is out of date; rerun ranlib(1) The application runs fine. After I run ranlib and recompile, the application no longer works. When executed I get a run-time error (I think it is from ld.so, I am useing shared libs) that the __XtInherit is not defined. Most of the contrib stuff will fail with the same error when recompiled. If I recompile Xt and let ld warn me all day all the contrib stuff seems to work (I had to hack at the Imakefiles). It even messed up when I tryed "ranlib -t". xlock is one of the programs that do this. Does anyone else have any idea of what is going wrong? How to fix it? Where to look? -- stripes@wam.umd.edu "Security for Unix is like Josh_Osborne@Real_World,The Mutitasking for MS-DOS" "The dyslexic porgramer" - Kevin Lockwood Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer. - Fred Brooks, Jr.
datri@convex.com (Anthony A. Datri) (02/14/90)
>ld: /usr/local/X11R4/lib/libXt.sa.4.0: warning: table of contents for archive is >ld.so, I am useing shared libs) that the __XtInherit is not defined. Most All of a sudden, xgifroot does this to me, but doesn't say anything about ranlibbing libraries.
datri@convex.com (Anthony A. Datri) (02/14/90)
>ld.so, I am useing shared libs) that the __XtInherit is not defined. Most
I recompiled/relinked xgifroot without -lXaw and -lXt, and it works now.
I believe there are problems with the shared libraries if you link with
Xt/Xaw, but don't actually use them.