home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 237 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.2 KB

  1. Path: idefix.CS.kuleuven.ac.be!geert
  2. From: geert@cs.KULeuven.ac.be (Geert Uytterhoeven)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Compiling X Programs Under Amiga Linux?
  5. Date: 24 Jan 1996 12:01:36 GMT
  6. Organization: Department of Computer Science, Katholieke Universiteit Leuven, Belgium
  7. Sender: geert@idefix (Geert Uytterhoeven)
  8. Distribution: world
  9. Message-ID: <4e5730$bf3@idefix.CS.kuleuven.ac.be>
  10. References: <4dvqi0$4r2i@news-s01.ny.us.ibm.net> <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE> <4e547j$1jsk@news-s01.ny.us.ibm.net>
  11. NNTP-Posting-Host: idefix.cs.kuleuven.ac.be
  12. Keywords: X, libraries, Amiga, Linux
  13.  
  14. In article <4e547j$1jsk@news-s01.ny.us.ibm.net>, fheitka@ibm.net (Frederick V. Heitkamp) writes:
  15. |> In article <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE>, 
  16. |> Frank.Neumann@Informatik.Uni-Oldenburg.DE says...
  17. |> >
  18. |> >Hi,
  19. |> >heitkamp@ibm.net (Frederick V. Heitkamp) writes:
  20. |> >
  21. |> >>I tried to compile a couple of short demo programs for X under
  22. |> >>Amiga Linux.  I appears that I have no libX11.a, LibXt.a etc..
  23. |> >
  24. |> >Are you sure you really need the static (.a) libraries? All X11R6
  25. |> >distributions so far only come with shared libraries (at least for the
  26. |> 
  27. |> OK.  Let me tell you the whole story.  I have the X shared libraries
  28. |> in /usr/X11R6/lib.  When I try to compile the demo X program using,
  29. |> "gcc -o Xdemo Xdemo.c -L/usr/X11R6/lib -I/usr/X11R6/include -lX11"
  30. |> I get an error message saying it can't find libX11, even though the
  31. |> shared (sa) library is there.  I thought I read some where that you need
  32. |> the lib*.a, lib*.sa, and lib*so, so I thought the lib*.a file being
  33. |> missing might cause the problem.  I guess for ELF, one of those library
  34. |> types is not needed.  I thought it was the lib*.sa.  At least, 
  35. |> this is the way my Linux PC is set up.
  36.  
  37. Try to create soft links from /usr/X11R6/lib/lib*.so to the
  38. /usr/X11R6/lib/lib*.so.6.0 libraries, e.g.
  39.  
  40.     cd /usr/X11R6/lib
  41.     ln -s libX11.so.6.0 libX11.so
  42.  
  43. and so on...
  44.  
  45. Greetings,
  46.  
  47.                         Geert
  48.  
  49. --
  50. Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
  51. Wavelets, Linux/m68k on Amiga          http://www.cs.kuleuven.ac.be/~geert/
  52. Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
  53.