Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    303
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hyphyent

    hyphyent Member

    Joined:
    Jun 11, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    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:
    166
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    4
    Trophy Points:
    193
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. webignition

    webignition Well-Known Member

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

    I believe those RPMs are listed in WHM, so I'll try installing from there to start with ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice