Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-03-2004, 07:17 PM
|
#1
|
LQ Newbie
Registered: Dec 2004
Posts: 3
Rep:
|
Linking Problems
Hi,
I'm trying to build a program I downloaded and when I ran make on it, I got the following error:
/usr/bin/ld: cannot find -lXi
I checked around and it seemed I needed to install X Window developing packages, so I installed xorg-x11-devel (I'm using Fedora Core 2 at the moment), but now I get this output when I try to make the program:
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.so when searching for -lXi
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.a when searching for -lXi
/usr/bin/ld: cannot find -lXi
Does anyone know what's going on here? Why is it skipping those files, I thought they were the ones that -lXi refers to? Anyway, if anyone can offer any suggestions it'd be greatly appreciated.
|
|
|
12-03-2004, 07:23 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
What program are you trying to install and what version of the devel packages did you install? Are they the correct version? Are they in your lib path?
|
|
|
12-03-2004, 07:38 PM
|
#3
|
LQ Newbie
Registered: Dec 2004
Posts: 3
Original Poster
Rep:
|
The program I'm trying to compile is little open-source game that a professor of mine is working on. I installed xorg-x11-devel-6.7.0-11 (and the rest of the xorg-x11 stuff of the same version). I don't know what version they are supposed to be, the only versions it specifies are for g++, make, SDL, and OpenGL. So that might be it, I guess.
The makefile has in it:
SHARED_LIBS0 := -L/usr/X11R6/lib ...
and the libXi.a and libX.so files are in there (which makes sense cause it finds them, I just don't know why it skips them). Should I try installing older versions of the xorg packages, do you think?
|
|
|
12-03-2004, 09:02 PM
|
#4
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
is this suse ?
give us the ls -l readout on
/usr/X11R6/lib
seems like i remember someone saying something about missing X11 symlinks in suse
should look like
libXi.so -> libXi.so.6.0
libXi.so.6 -> libXi.so.6.0
libXi.so.6.0
|
|
|
12-03-2004, 09:49 PM
|
#5
|
LQ Newbie
Registered: Dec 2004
Posts: 3
Original Poster
Rep:
|
Nope not SuSe, I'm using Fedora Core 2. Here's the ls -l of /usr/X11R6/lib - lots of stuff:
-rw-r--r-- 1 root root 407072 Dec 2 13:21 libdps.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libdps.so -> libdps.so.1.0
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libdps.so.1 -> libdps.so.1.0
-rwxr-xr-x 1 root root 278104 Dec 2 13:22 libdps.so.1.0
-rw-r--r-- 1 root root 31682 Dec 2 13:21 libdpstk.a
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libdpstk.so -> libdpstk.so.1.0
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libdpstk.so.1 -> libdpstk.so.1.0
-rwxr-xr-x 1 root root 27612 Dec 2 13:22 libdpstk.so.1.0
-rw-r--r-- 1 root root 13614 Dec 2 13:21 libfntstubs.a
-rw-r--r-- 1 root root 24268 Dec 2 13:21 libfontenc.a
lrwxrwxrwx 1 root root 17 Dec 3 14:29 libfontenc.so -> libfontenc.so.1.0
lrwxrwxrwx 1 root root 17 Dec 3 14:28 libfontenc.so.1 -> libfontenc.so.1.0
-rwxr-xr-x 1 root root 22080 Dec 2 13:22 libfontenc.so.1.0
-rw-r--r-- 1 root root 67982 Dec 2 13:21 libFS.a
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libFS.so.6 -> libFS.so.6.0
-rwxr-xr-x 1 root root 43368 Dec 2 13:22 libFS.so.6.0
-rw-r--r-- 1 root root 675916 Dec 2 13:21 libGL.a
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 root root 12 Nov 21 22:49 libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 495456 Nov 16 13:44 libGL.so.1.2
-rw-r--r-- 1 root root 664612 Dec 2 13:21 libGLU.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libGLU.so -> libGLU.so.1.3
lrwxrwxrwx 1 root root 13 Nov 21 22:49 libGLU.so.1 -> libGLU.so.1.3
-rwxr-xr-x 1 root root 495704 Nov 16 13:44 libGLU.so.1.3
-rw-r--r-- 1 root root 28174 Dec 2 13:21 libGLw.a
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libGLw.so.1 -> libGLw.so.1.0
-rwxr-xr-x 1 root root 22328 Dec 2 13:22 libGLw.so.1.0
-rw-r--r-- 1 root root 68070 Dec 2 13:21 libI810XvMC.a
lrwxrwxrwx 1 root root 18 Dec 3 14:29 libI810XvMC.so -> libI810XvMC.so.1.0
lrwxrwxrwx 1 root root 18 Dec 3 14:28 libI810XvMC.so.1 -> libI810XvMC.so.1.0
-rwxr-xr-x 1 root root 63360 Dec 2 13:22 libI810XvMC.so.1.0
-rw-r--r-- 1 root root 114122 Dec 2 13:21 libICE.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libICE.so -> libICE.so.6.3
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libICE.so.6 -> libICE.so.6.3
-rwxr-xr-x 1 root root 84704 Dec 2 13:22 libICE.so.6.3
-rw-r--r-- 1 root root 9056 Dec 2 13:21 liboldX.a
-rw-r--r-- 1 root root 1649406 Dec 2 13:21 libOSMesa.a
lrwxrwxrwx 1 root root 16 Dec 3 14:29 libOSMesa.so -> libOSMesa.so.4.0
lrwxrwxrwx 1 root root 16 Dec 3 14:28 libOSMesa.so.4 -> libOSMesa.so.4.0
-rwxr-xr-x 1 root root 1374496 Dec 2 13:22 libOSMesa.so.4.0
-rw-r--r-- 1 root root 18828 Dec 2 13:21 libpsres.a
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libpsres.so -> libpsres.so.1.0
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libpsres.so.1 -> libpsres.so.1.0
-rwxr-xr-x 1 root root 19368 Dec 2 13:22 libpsres.so.1.0
-rw-r--r-- 1 root root 37536 Dec 2 13:21 libSM.a
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libSM.so -> libSM.so.6.0
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libSM.so.6 -> libSM.so.6.0
-rwxr-xr-x 1 root root 31360 Dec 2 13:22 libSM.so.6.0
-rw-r--r-- 1 root root 1412244 Dec 2 13:21 libX11.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libX11.so -> libX11.so.6.2
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libX11.so.6 -> libX11.so.6.2
-rwxr-xr-x 1 root root 817176 Dec 2 13:22 libX11.so.6.2
-rw-r--r-- 1 root root 14080 Dec 2 13:21 libXau.a
-rw-r--r-- 1 root root 482342 Dec 2 13:21 libXaw.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libXaw.so -> libXaw.so.7.0
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libXaw.so.6 -> libXaw.so.6.1
-rwxr-xr-x 1 root root 256672 Dec 2 13:22 libXaw.so.6.1
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libXaw.so.7 -> libXaw.so.7.0
-rwxr-xr-x 1 root root 366272 Dec 2 13:22 libXaw.so.7.0
-rw-r--r-- 1 root root 36594 Dec 2 13:21 libXcursor.a
lrwxrwxrwx 1 root root 19 Dec 3 14:29 libXcursor.so -> libXcursor.so.1.0.2
lrwxrwxrwx 1 root root 19 Dec 3 14:28 libXcursor.so.1 -> libXcursor.so.1.0.2
-rwxr-xr-x 1 root root 32692 Dec 2 13:22 libXcursor.so.1.0.2
-rw-r--r-- 1 root root 36870 Dec 2 13:21 libXdmcp.a
-rw-r--r-- 1 root root 73676 Dec 2 13:21 libXext.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXext.so -> libXext.so.6.4
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXext.so.6 -> libXext.so.6.4
-rwxr-xr-x 1 root root 52640 Dec 2 13:22 libXext.so.6.4
-rw-r--r-- 1 root root 134290 Dec 2 13:21 libxf86config.a
-rw-r--r-- 1 root root 605236 Dec 2 13:21 libXfont.a
-rw-r--r-- 1 root root 3466 Dec 2 13:21 libXfontcache.a
lrwxrwxrwx 1 root root 20 Dec 3 14:29 libXfontcache.so -> libXfontcache.so.1.2
lrwxrwxrwx 1 root root 20 Dec 3 14:28 libXfontcache.so.1 -> libXfontcache.so.1.2
-rwxr-xr-x 1 root root 5004 Dec 2 13:22 libXfontcache.so.1.2
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libXfont.so -> libXfont.so.1.5
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libXfont.so.1 -> libXfont.so.1.5
-rwxr-xr-x 1 root root 441816 Dec 2 13:22 libXfont.so.1.5
-rw-r--r-- 1 root root 86446 Dec 2 13:21 libXft.a
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libXft.so -> libXft.so.2.1.2
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libXft.so.1 -> libXft.so.1.1
-rwxr-xr-x 1 root root 51636 Dec 2 13:22 libXft.so.1.1
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libXft.so.2 -> libXft.so.2.1.2
-rwxr-xr-x 1 root root 72048 Dec 2 13:22 libXft.so.2.1.2
-rw-r--r-- 1 root root 60876 Dec 2 13:21 libXi.a
-rw-r--r-- 1 root root 4722 Dec 2 13:21 libXinerama.a
lrwxrwxrwx 1 root root 18 Dec 3 14:29 libXinerama.so -> libXinerama.so.1.0
lrwxrwxrwx 1 root root 18 Dec 3 14:28 libXinerama.so.1 -> libXinerama.so.1.0
-rwxr-xr-x 1 root root 6540 Dec 2 13:22 libXinerama.so.1.0
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libXi.so -> libXi.so.6.0
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libXi.so.6 -> libXi.so.6.0
-rwxr-xr-x 1 root root 27392 Dec 2 13:22 libXi.so.6.0
-rw-r--r-- 1 root root 163504 Dec 2 13:21 libxkbfile.a
lrwxrwxrwx 1 root root 17 Dec 3 14:29 libxkbfile.so -> libxkbfile.so.1.0
lrwxrwxrwx 1 root root 17 Dec 3 14:28 libxkbfile.so.1 -> libxkbfile.so.1.0
-rwxr-xr-x 1 root root 134656 Dec 2 13:22 libxkbfile.so.1.0
-rw-r--r-- 1 root root 8796 Dec 2 13:21 libxkbui.a
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libxkbui.so -> libxkbui.so.1.0
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libxkbui.so.1 -> libxkbui.so.1.0
-rwxr-xr-x 1 root root 10504 Dec 2 13:22 libxkbui.so.1.0
-rw-r--r-- 1 root root 131470 Dec 2 13:21 libXmu.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libXmu.so -> libXmu.so.6.2
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libXmu.so.6 -> libXmu.so.6.2
-rwxr-xr-x 1 root root 85752 Dec 2 13:22 libXmu.so.6.2
-rw-r--r-- 1 root root 11968 Dec 2 13:21 libXmuu.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXmuu.so -> libXmuu.so.1.0
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXmuu.so.1 -> libXmuu.so.1.0
-rwxr-xr-x 1 root root 10392 Dec 2 13:22 libXmuu.so.1.0
-rw-r--r-- 1 root root 39516 Dec 2 13:21 libXp.a
-rw-r--r-- 1 root root 86144 Dec 2 13:21 libXpm.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXpm.so -> libXpm.so.4.11
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXpm.so.4 -> libXpm.so.4.11
-rwxr-xr-x 1 root root 58400 Dec 2 13:22 libXpm.so.4.11
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libXp.so -> libXp.so.6.2
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libXp.so.6 -> libXp.so.6.2
-rwxr-xr-x 1 root root 26772 Dec 2 13:22 libXp.so.6.2
-rw-r--r-- 1 root root 7846 Dec 2 13:21 libXrandr.a
lrwxrwxrwx 1 root root 16 Dec 3 14:29 libXrandr.so -> libXrandr.so.2.0
lrwxrwxrwx 1 root root 16 Dec 3 14:28 libXrandr.so.2 -> libXrandr.so.2.0
-rwxr-xr-x 1 root root 9692 Dec 2 13:22 libXrandr.so.2.0
-rw-r--r-- 1 root root 36656 Dec 2 13:21 libXrender.a
lrwxrwxrwx 1 root root 19 Dec 3 14:29 libXrender.so -> libXrender.so.1.2.2
lrwxrwxrwx 1 root root 19 Dec 3 14:28 libXrender.so.1 -> libXrender.so.1.2.2
-rwxr-xr-x 1 root root 27924 Dec 2 13:22 libXrender.so.1.2.2
-rw-r--r-- 1 root root 3818 Dec 2 13:21 libXRes.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXRes.so -> libXRes.so.1.0
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXRes.so.1 -> libXRes.so.1.0
-rwxr-xr-x 1 root root 5612 Dec 2 13:22 libXRes.so.1.0
-rw-r--r-- 1 root root 5852 Dec 2 13:21 libXss.a
lrwxrwxrwx 1 root root 13 Dec 3 14:29 libXss.so -> libXss.so.1.0
lrwxrwxrwx 1 root root 13 Dec 3 14:28 libXss.so.1 -> libXss.so.1.0
-rwxr-xr-x 1 root root 7468 Dec 2 13:22 libXss.so.1.0
-rw-r--r-- 1 root root 430742 Dec 2 13:21 libXt.a
-rw-r--r-- 1 root root 34550 Dec 2 13:21 libXTrap.a
lrwxrwxrwx 1 root root 15 Dec 3 14:29 libXTrap.so -> libXTrap.so.6.4
lrwxrwxrwx 1 root root 15 Dec 3 14:28 libXTrap.so.6 -> libXTrap.so.6.4
-rwxr-xr-x 1 root root 31392 Dec 2 13:22 libXTrap.so.6.4
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libXt.so -> libXt.so.6.0
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libXt.so.6 -> libXt.so.6.0
-rwxr-xr-x 1 root root 325240 Dec 2 13:22 libXt.so.6.0
-rw-r--r-- 1 root root 17714 Dec 2 13:21 libXtst.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXtst.so -> libXtst.so.6.1
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXtst.so.6 -> libXtst.so.6.1
-rwxr-xr-x 1 root root 18060 Dec 2 13:22 libXtst.so.6.1
-rw-r--r-- 1 root root 12666 Dec 2 13:21 libXv.a
-rw-r--r-- 1 root root 6736 Dec 2 13:21 libXvMC.a
lrwxrwxrwx 1 root root 14 Dec 3 14:29 libXvMC.so -> libXvMC.so.1.0
lrwxrwxrwx 1 root root 14 Dec 3 14:28 libXvMC.so.1 -> libXvMC.so.1.0
-rwxr-xr-x 1 root root 8396 Dec 2 13:22 libXvMC.so.1.0
lrwxrwxrwx 1 root root 12 Dec 3 14:29 libXv.so -> libXv.so.1.0
lrwxrwxrwx 1 root root 12 Dec 3 14:28 libXv.so.1 -> libXv.so.1.0
-rwxr-xr-x 1 root root 14264 Dec 2 13:22 libXv.so.1.0
-rw-r--r-- 1 root root 18304 Dec 2 13:21 libXxf86dga.a
lrwxrwxrwx 1 root root 18 Dec 3 14:29 libXxf86dga.so -> libXxf86dga.so.1.0
lrwxrwxrwx 1 root root 18 Dec 3 14:28 libXxf86dga.so.1 -> libXxf86dga.so.1.0
-rwxr-xr-x 1 root root 18060 Dec 2 13:22 libXxf86dga.so.1.0
-rw-r--r-- 1 root root 7352 Dec 2 13:21 libXxf86misc.a
lrwxrwxrwx 1 root root 19 Dec 3 14:29 libXxf86misc.so -> libXxf86misc.so.1.1
lrwxrwxrwx 1 root root 19 Dec 3 14:28 libXxf86misc.so.1 -> libXxf86misc.so.1.1
-rwxr-xr-x 1 root root 9068 Dec 2 13:22 libXxf86misc.so.1.1
-rw-r--r-- 1 root root 5242 Dec 2 13:21 libXxf86rush.a
lrwxrwxrwx 1 root root 19 Dec 3 14:29 libXxf86rush.so -> libXxf86rush.so.1.0
lrwxrwxrwx 1 root root 19 Dec 3 14:28 libXxf86rush.so.1 -> libXxf86rush.so.1.0
-rwxr-xr-x 1 root root 6796 Dec 2 13:22 libXxf86rush.so.1.0
-rw-r--r-- 1 root root 14834 Dec 2 13:21 libXxf86vm.a
lrwxrwxrwx 1 root root 17 Dec 3 14:29 libXxf86vm.so -> libXxf86vm.so.1.0
lrwxrwxrwx 1 root root 17 Dec 3 14:28 libXxf86vm.so.1 -> libXxf86vm.so.1.0
-rwxr-xr-x 1 root root 15660 Dec 2 13:22 libXxf86vm.so.1.0
drwxr-xr-x 12 root root 4096 Dec 3 14:29 X11
drwxr-xr-x 2 root root 4096 Nov 22 00:08 xscreensaver
Thanks for taking the time to check this out, by the way.
|
|
|
All times are GMT -5. The time now is 08:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|