Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    What package contains Xlib.h?

    I'm trying to compile (I think) imwheel and it coughs up. So I go through the hideous list of errors and find a lot of "can't find"s. So I open the jax directory and look at the first error and find it is in jax.h. In that it includes X11/Xlib.h . So I look and can't find that on the system. So.... any idea what package I can install that will provide that header file? I've installed the X11R6 library but it doesn't seem to include this one.


  2. #2
    Linux Guru
    Join Date
    Apr 2003
    London, UK
    You will need the "XFree86-devel" package for xlib.h


  3. #3
    Cool, thanks! I didn't want to install every package and waste precious shared space :]

  4. $spacer_open
  5. #4


    I use Fedora Core 3.
    How to add the "XFree86-devel" package for xlib.h?

    Quote Originally Posted by jasonlambert
    You will need the "XFree86-devel" package for xlib.h


  6. #5
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Republic Banana
    This thread was one year ago, nowadays most distributions use so that would be something like xorg-devel
    I\'m so tired .....

  7. #6
    What is the command to install xorg-devel package?
    yum install xorg-devel
    does not work.

  8. #7
    You can find "X11/Xlib.h" and all X development files installing package "xlibs-dev"


  9. #8
    I had the same problem, and probably I can help you. Whith ubuntu I installed the debian package libx11-dev that contain this header file.

    PS: Sorry for my english, I'm from spain


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts