Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!rochester!cornell!uw-beaver!rice!sun-spots-request From: nova!hart@decwrl.dec.com (Howard C. Hart) Newsgroups: comp.sys.sun Subject: Re: Shared library problems Keywords: SunOS Message-ID: <3778@kalliope.rice.edu> Date: 30 May 89 19:11:38 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 24, message 4 of 10 In article <723@dutrun.UUCP> duttnph!robert@nluug.nl (Robert de Vries) writes: >X-Sun-Spots-Digest: Volume 7, Issue 300, message 10 of 15 > >Therefore I get a message 'ld.so: __qfree not found' when I start a >program compiled with -lX11. > >When I link the executable using a command like: > >cc -o exec exec.o /usr/lib/libX11.so.1.0 /usr/lib/libX11.sa.1.0 > >everything works fine. When I exchange the last two files the program >aborts with the message above. I figured that when I could create a Hmmmm.... Looks suspiciously like the message I used to get when I called some FORTRAN libraries out of order. This problem also fixed itself when I made sure any subroutines called from one library were available in the following library called from the command line. I.E. - /usr/lib/libX11.sa.1.0 is calling a subroutine in /usr/lib/libX11.so.1.0. Or maybe I just misunderstood the question? Howard C. Hart UUCP:{sun!sunncal,pyramid}!leadsv!laic!nova!hart Lockheed Missiles and Space Co. Orgn 59-53, Bldg 593 Ph: (408) 743-2253 or -7353 Sunnyvale, CA 94086