LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   chkrootkit on MDK 9.1 ? (https://www.linuxquestions.org/questions/linux-newbie-8/chkrootkit-on-mdk-9-1-a-142831/)

WannaLearnLinux 02-05-2004 10:05 PM

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 :newbie:

oobe 02-05-2004 10:36 PM

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.

WannaLearnLinux 02-08-2004 10:41 AM

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.

oobe 02-21-2004 01:55 PM

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

Baldrick65 02-21-2004 05:40 PM

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

oobe 02-21-2004 11:37 PM

i just downloaded ckrootkit and worked fine for me did you get he latest version oh yes i see you did strange

WannaLearnLinux 02-23-2004 05:36 PM

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?

WannaLearnLinux 02-23-2004 05:37 PM

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)

WannaLearnLinux 02-23-2004 06:13 PM

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 :D

catmando 03-13-2004 01:40 PM

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 :newbie:

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 :)

asktoby 04-01-2004 04:39 AM

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!:cool:


All times are GMT -5. The time now is 06:13 AM.