LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2004, 11:05 PM   #1
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Rep: Reputation: 31
Unhappy chkrootkit on MDK 9.1 ?


Hi,

just qucik Q ,does any1 installed Chkrootkit source on MDK 9.1 ?

I'm missing some libraries and wondering if you know more than I do about that.

I untared Chkrootkit,read README and did #make sense and get error:

[root@linuxbox chkrootkit-0.43]# make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
gcc -DHAVE_LASTLOG_H -o ifpromisc ifpromisc.c
gcc -o chkproc chkproc.c
gcc -o chkdirs chkdirs.c
gcc -o check_wtmpx check_wtmpx.c
gcc -static -o strings-static strings.c
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [strings-static] Error 1

So all I know Gcc is fine but "lc" is missing. Does any1 have any experience with situation I'm in?

thanx
 
Old 02-05-2004, 11:36 PM   #2
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 83

Rep: Reputation: 16
I am unfamiliar with Chkrootkit software that you are trying to compile but is common practise when you are trying to compile software from source that you read the acompanied doumenation and look for a list of dependecies once you have checked each of the dependicies you can go on to install.
 
Old 02-08-2004, 11:41 AM   #3
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
well,

thanx for reply oobe,

but there is not anything in README about what I need installed before installing Chkrootkit. It says just type #make sense,which I did as root and get error as above.
 
Old 02-21-2004, 02:55 PM   #4
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 83

Rep: Reputation: 16
yes i am sorry i have just googled a bit and it does seem to have no dependencies however mandrake (at a glance) does not appear to be in the supported OS's maybe you could get an rpm and install it with the --force or --nodeps option and then try to launch it
if it has problems launching after that you could most likey solve then using symlinks or somthing
 
Old 02-21-2004, 06:40 PM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
I installed chkrootkit V. 0.42a on my Mandrake 9.1 system with no probs. Just make sure you have the gcc-cpp-3.2.2-3.mdk package installed.

Baldrick
 
Old 02-22-2004, 12:37 AM   #6
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 83

Rep: Reputation: 16
i just downloaded ckrootkit and worked fine for me did you get he latest version oh yes i see you did strange
 
Old 02-23-2004, 06:36 PM   #7
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
hi

Quote:
Originally posted by Baldrick65
I installed chkrootkit V. 0.42a on my Mandrake 9.1 system with no probs. Just make sure you have the gcc-cpp-3.2.2-3.mdk package installed.

Baldrick
thanx for reply,but I have its gcc-cpp installed.Did you mean version 0.42a RPM or source?
 
Old 02-23-2004, 06:37 PM   #8
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
Hi oobe,

Quote:
Originally posted by oobe
i just downloaded ckrootkit and worked fine for me did you get he latest version oh yes i see you did strange

what you mean I did strange? i think I did install of latest version (0.43)
 
Old 02-23-2004, 07:13 PM   #9
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
got it,

I installed 0.42b-1 RPM for Mandrake cooker (dunno what that means) and it is working.Great! Thanx for helping me guys,I appreciate it,

WannaLearnLinux ...still need a lot to learn
 
Old 03-13-2004, 02:40 PM   #10
catmando
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.1, Suse Pro 9.2
Posts: 9

Rep: Reputation: 0
Re: chkrootkit on MDK 9.1 ?

Quote:
Originally posted by WannaLearnLinux
Hi,

just qucik Q ,does any1 installed Chkrootkit source on MDK 9.1 ?

I'm missing some libraries and wondering if you know more than I do about that.

I untared Chkrootkit,read README and did #make sense and get error:

[root@linuxbox chkrootkit-0.43]# make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
gcc -DHAVE_LASTLOG_H -o ifpromisc ifpromisc.c
gcc -o chkproc chkproc.c
gcc -o chkdirs chkdirs.c
gcc -o check_wtmpx check_wtmpx.c
gcc -static -o strings-static strings.c
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [strings-static] Error 1

So all I know Gcc is fine but "lc" is missing. Does any1 have any experience with situation I'm in?

thanx
The only thing that you are missing are, glibc-devel and glibc-static-devel, get the latest version that is current with your up-dates install them and then run # make sense for version 0.43, this should sort your problems and any other Mandrake 9.1 user out as well.

Have a blessed day

Last edited by catmando; 03-13-2004 at 02:47 PM.
 
Old 04-01-2004, 05:39 AM   #11
asktoby
Member
 
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94

Rep: Reputation: 15
No question, this is just a similar case for the good of others:

I had the same problem, Mandrake 9.1, #make sense in the chkrootkit directory, and I got:

[root@localhost chkrootkit-0.43]# make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
gcc -DHAVE_LASTLOG_H -o ifpromisc ifpromisc.c
gcc -o chkproc chkproc.c
gcc -o chkdirs chkdirs.c
gcc -o check_wtmpx check_wtmpx.c
gcc -static -o strings-static strings.c
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [strings-static] Error 1

As root, I went:
#urpmi glibc-devel
#urpmi glibc-static-devel
(these connected to the web and automatically installed the glibc stuff, after configuring urpmi using "easy urpmi")

and now
#make sense
works fine, and I run
#./chkrootkit
fine.

Great advice Catmando!
 
  


Reply


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-19-2005 12:48 AM
chkrootkit ? jmanjeff Linux - Security 2 06-01-2005 12:15 AM
chkrootkit-0.45 aaru_ali Mandriva 1 04-25-2005 03:21 AM
How reliable is chkrootkit?? jimdaworm Linux - Security 7 10-18-2004 06:51 AM
I think somethings is not right with the chkrootkit AceTech747 Linux - Security 12 01-27-2004 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 AM.

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