Guda

Member
PartnerNOC
Aug 16, 2001
20
1
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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
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.
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
chirpy said:
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.
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?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
AndyReed said:
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
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
chirpy said:
No, no need to go to rpmfind at all :rolleyes:

Those modules changed from XFree86 to xorg-x11 from v3 to v4 of the RH OS. So the rpms you need from yum are:

xorg-x11-libs
xorg-x11-devel


Available directly for your OS from:

http://mirror.centos.org/centos/4.3/os/x86_64/CentOS/RPMS/
Thanks!

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