Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-06-2005, 11:06 AM   #1
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
#chkrootkit - install error

Hope someone can point me in the right direction with this please.

I am a newbie trying to install the security app from chkrootkit.
I get the following error code when trying to #make

#chkrootkit[root@localhost chkrootkit-0.45]# make
#*** stopping make sense ***
#make[1]: Entering directory `/chkrootkit-0.45'
#gcc -static -o strings-static strings.c
#/usr/bin/ld: cannot find -lc
#collect2: ld returned 1 exit status
#make[1]: *** [strings-static] Error 1
#make[1]: Leaving directory `/chkrootkit-0.45'
#make: *** [all] Error 2
[#root@localhost chkrootkit-0.45]#

Anyone know where I can find the missing -lc and perhaps what the
#Error codes are.

Thanks for your time - hope this is in the right section, sorry if it is not.
Old 06-06-2005, 11:21 AM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
All "Error 1" vs "Error 2" indicates, as far as I know, is the level of the error. That is, the make target "all" has a dependency of "strings-static", so as it builds strings-static, it's at the 2nd level, hence the "Error 2". The dependency of all (strings-static) failed, so it fails as well, generating "Error 1"

-lc is the standard c library. On most systems, this would be glibc (the gnu c library). You may need additional development packages installed on your system.
Old 06-06-2005, 01:19 PM   #3
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15

Matir - +++++

Thanks everso much for your help - will try and locate the missing files.

Good luck and thanks again for your support.
Old 06-20-2005, 04:30 AM   #4
LQ Newbie
Registered: Jun 2005
Location: France
Posts: 1

Rep: Reputation: 0
Thumbs up


Consider installing the "gibc-static-devel-yourversion" package.
This solved the problem for me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
when I ./chkrootkit it says .... chemichael Fedora 2 08-18-2005 11:48 PM
chkrootkit ? jmanjeff Linux - Security 2 05-31-2005 11:15 PM
chkrootkit-0.45 aaru_ali Mandriva 1 04-25-2005 02:21 AM
Install error: fatal error attempting to install <pkgpath & name> gmartin Slackware - Installation 24 02-17-2005 04:26 PM
chkrootkit-installing Error WannaLearnLinux Linux - Security 7 10-24-2003 01:01 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration