Page 1 of 1

GCC error

Posted: Sat Aug 23, 2003 2:28 pm
by Num3
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status

And no executable is created !

Any ideas !?


--
[Using linux for 4 hours only :roll: ]

Posted: Sat Aug 23, 2003 9:00 pm
by dmoc
Check if there is a library called libXi (poss followed by some numbers). One way is to do an "updatedb" then when that's finished to a "locate libXi". If it's there then (and I'm a bit rusty here) do an "ldconfig". Hope this helps.