On Monday 23 December 2002 05:48, Dan Cox wrote: > I'm trying to compile chkrootkit and am getting the fallowing. > > [root@diablo chkrootkit-0.38]# make sense > gcc -static -o strings strings.c > /usr/bin/ld: cannot find -lc > collect2: ld returned 1 exit status > make: *** [strings] Error 1 > > I don't see any reference to ld or -lc in the make file. Any > suggestions? > > Dan Cox
You're trying to link statically to the C-library and the linker fails because it can't find libc.a to link against. "urpmf libc.a" gives a few incorrect hits, but it also shows us the correct one: glibc-static-devel so "urpmi glibc-static-devel" should solve your problem: Narfi.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
