LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10: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, 10:36 PM   #2
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

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, 10: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, 01:55 PM   #4
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

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, 05: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-21-2004, 11:37 PM   #6
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

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, 05: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, 05: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, 06: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, 01: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 01:47 PM.
 
Old 04-01-2004, 04: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



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
How reliable is chkrootkit?? jimdaworm Linux - Security 7 10-18-2004 05:51 AM
I think somethings is not right with the chkrootkit AceTech747 Linux - Security 12 01-27-2004 10:10 PM

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

All times are GMT -5. The time now is 12:05 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
Open Source Consulting | Domain Registration