Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!rice!sun-spots-request From: nih-csl!elsie!ado@uunet.uu.net (Arthur David Olson) Newsgroups: comp.sys.sun Subject: Avoid linking unused X11R4 shared libraries w/SunOS 4.0.3 Keywords: Windows Message-ID: <4544@brazos.Rice.edu> Date: 29 Jan 90 23:21:32 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 23 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 17, message 4 of 12 This may well be old hat to experts; as the attached transcript shows, you'll want to avoid linking unused shared XV11R4 libraries under SunOS 4.0.3 (at least on Sun 3's). Arthur David Olson ado@alw.nih.gov ADO is a trademark of Ampex. Script started on Mon Jan 15 18:12:39 1990 elsie$ echo "main(){}" > try.c elsie$ cc try.c elsie$ a.out elsie$ cc -Bstatic try.c elsie$ a.out elsie$ cc try.c -lX11 elsie$ a.out elsie$ cc -Bstatic try.c -lX11 elsie$ a.out elsie$ cc try.c -lXt elsie$ a.out >>>> ld.so: Undefined symbol: __XtInher__ elsie$ cc -Bstatic try.c -lXt elsie$ a.out elsie$ exit script done on Mon Jan 15 18:13:56 1990