The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cannot find -lX11

Discussion in 'General Discussion' started by Guda, Oct 29, 2005.

  1. Guda

    Guda Member
    PartnerNOC

    Joined:
    Aug 16, 2001
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    I am getting these errors on a few of our 64bit boxes, anyone have any clues?


    make: *** Waiting for unfinished jobs....
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
    /usr/bin/ld: cannot find -lX11
    collect2: ld returned 1 exit status
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You don't say which OS you're using, which would help. If you're using an rpm based system, check that the XFree86-devel rpm is installed as that is the rpm those files belong to.
     
  3. hyphyent

    hyphyent Member

    Joined:
    Jun 11, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    im having this same problem... was it ever solved? and how?
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    A little off topic this may be, but any suggestion on where to get the XFree/XFree-devel RPMs for CentOS 4.3 X86_64?
     
  5. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    CentOS 4.3 X86_64 is real pain, the vast majority of the time. Are these the only missing libraries or are there more?
    In any case you can get XFree-devel RPMs from this site: http://rpmfind.net/linux/rpm2html/search.php?query=XFree86-devel
     
  6. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Cheers Andy!

    Yes, I know CentOS 4.3 X86_64 is a real pain!

    I did try rpmfind.net before, however I was only searching for 'XFree' and that didn't find many RPMs (only 3!). I guess I didn't try searching for 'XFree-devel', thinking that a search for 'XFree' would do the trick.

    I'm not actually missing these libs, but merely seem to have a problem and wanted to force a reinstall of them as I'm encountering some errors when configuring a separate PHP5 installation. I didn't bring that up here since it wasn't related to the thread.

    The actual errors I'm getting that cause the configure of PHP 5.1.2 to fail are:

    Code:
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
    although this isn't a problem specific to PHP.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Thanks!

    I believe those RPMs are listed in WHM, so I'll try installing from there to start with ...
     
Loading...

Share This Page