LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   nessus install problems on slackware v 10.2 w/ 2.4 kernel (https://www.linuxquestions.org/questions/linux-software-2/nessus-install-problems-on-slackware-v-10-2-w-2-4-kernel-383775/)

Scarlett 11-16-2005 04:13 PM

nessus install problems on slackware v 10.2 w/ 2.4 kernel
 
hello!
im having a problem installing nessus on my newly built slackware 10.2 box. i have tried to install from a file on a cd as well as from install.nessus.org. the error im getting that "libtool: link: only absolute run paths are allowed [error 1] "

below is the nessus compliation i saved to see where it went wrong, but its all greek to me, im NEW to linux. really really new. just built my first box today. please help me! :)




gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -DNESSUS_STATE_DIR=\"nessus/var\" -c store.c -fPIC -DPIC -o .libs/store.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -DNESSUS_STATE_DIR=\"nessus/var\" -c store.c -o store.o >/dev/null 2>&1
mv -f .libs/store.lo store.lo
/bin/sh /tmp/nessus-installer.31174/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c snprintf.c
rm -f .libs/snprintf.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c snprintf.c -fPIC -DPIC -o .libs/snprintf.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c snprintf.c -o snprintf.o >/dev/null 2>&1
mv -f .libs/snprintf.lo snprintf.lo
/bin/sh /tmp/nessus-installer.31174/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c kb.c
rm -f .libs/kb.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c kb.c -fPIC -DPIC -o .libs/kb.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c kb.c -o kb.o >/dev/null 2>&1
mv -f .libs/kb.lo kb.lo
/bin/sh /tmp/nessus-installer.31174/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c share_fd.c
rm -f .libs/share_fd.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c share_fd.c -fPIC -DPIC -o .libs/share_fd.lo
gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/tmp/nessus-installer.31174/nessus-libraries/include -I/tmp/nessus-installer.31174/nessus-libraries/libpcap-nessus -g -c share_fd.c -o share_fd.o >/dev/null 2>&1
mv -f .libs/share_fd.lo share_fd.lo
/bin/sh /tmp/nessus-installer.31174/nessus-libraries/libtool gcc -pipe -o libnessus.la plugutils.lo system.lo network.lo resolve.lo arglists.lo ftp_funcs.lo scanners_utils.lo pcap.lo hlst.lo harglists.lo getopt.lo getopt1.lo www_funcs.lo diff.lo ids_send.lo rand.lo popen.lo bpf_share.lo services.lo services1.lo proctitle.lo store.lo snprintf.lo kb.lo share_fd.lo -rpath nessus/lib \
-version-info 4:6:2
make[1]: Leaving directory `/tmp/nessus-installer.31174/nessus-libraries/libnessus'


and thats the end of the log,
any help is appreciated. :)

thank you
Scarlett

Finlay 11-17-2005 03:27 PM

do you have libnasl installed

Scarlett 11-18-2005 11:14 AM

um, no, at least i dont think so,. i went today and dowloaded it, but when i tried to install it, this is what it said

rpm -U --replacepkgs '//root/libnasl-2.2.3-3.i586.rpm';echo RESULT=$?
warning: //root/libnasl-2.2.3-3.i586.rpm: V3 DSA signature: NOKEY, key ID 9c800aca
error: Failed dependencies:
nessus-libraries = 2.2.3 is needed by libnasl-2.2.3-3
nessus-core = 2.2.3 is needed by libnasl-2.2.3-3
/bin/sh is needed by libnasl-2.2.3-3
libc.so.6 is needed by libnasl-2.2.3-3
libc.so.6(GLIBC_2.0) is needed by libnasl-2.2.3-3
libc.so.6(GLIBC_2.1) is needed by libnasl-2.2.3-3
libc.so.6(GLIBC_2.1.3) is needed by libnasl-2.2.3-3
libc.so.6(GLIBC_2.3) is needed by libnasl-2.2.3-3
libcrypto.so.0.9.7 is needed by libnasl-2.2.3-3
libdl.so.2 is needed by libnasl-2.2.3-3
libhosts_gatherer.so.2 is needed by libnasl-2.2.3-3
libnessus.so.2 is needed by libnasl-2.2.3-3
libnsl.so.1 is needed by libnasl-2.2.3-3
libpcap-nessus.so.2 is needed by libnasl-2.2.3-3
libresolv.so.2 is needed by libnasl-2.2.3-3
libssl.so.0.9.7 is needed by libnasl-2.2.3-3
libutil.so.1 is needed by libnasl-2.2.3-3
RESULT=0

Finlay 11-18-2005 11:18 AM

ok
well there is a package at www.linuxpackages.net for slack 10.1, which should work on 10.2. the package lists some dependencies and you can look at the package script to see if any special configure options are needed

Scarlett 11-18-2005 11:23 AM

im going to go download it right now, and try it out. thank you for the reply. :)

Scarlett 11-18-2005 11:44 AM

wow, this linux stuff is weird, im used to exe's that just work, no dependancies etc... anyway i went to install it, and got this,.

root@slacker:/usr/lib/libnasl-2.2.5-i486-1dfj/install# sh doinst.sh
doinst.sh: line 1: cd: usr/lib: No such file or directory
doinst.sh: line 2: cd: usr/lib: No such file or directory
doinst.sh: line 3: cd: usr/lib: No such file or directory
doinst.sh: line 4: cd: usr/lib: No such file or directory

but i do have a dir usr/lib
so im confussed. do i have to run the install from that dir usr/lib?

Finlay 11-18-2005 11:46 AM

ok, did you download the nessus package and then run:
installpkg nessus.xx.x.x.x.x.x.x.x.x.?

Scarlett 11-18-2005 12:07 PM

i just tried it with the installpkg cmd, and this is what i got,
root@slacker:~# installpkg nessus-core-2.2.5-i486-1dfj.tgz
Installing package nessus-core-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
nessus-core: nessus-core 2.2.5
nessus-core:
nessus-core: Nessus is an open source remote security scanner.
nessus-core: Required nessus components include:
nessus-core: libnasl, nessus-libraries, and nessus-plugins
nessus-core:
nessus-core: Package created by Destry Jaimes ( dj@swicked.net )
nessus-core:

root@slacker:~# root@slacker:~# installpkg nessus-core-2.2.5-i486-1dfj.tgz
Installing package nessus-core-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
nessus-core: nessus-core 2.2.5
nessus-core:
nessus-core: Nessus is an open source remote security scanner.
nessus-core: Required nessus components include:
nessus-core: libnasl, nessus-libraries, and nessus-plugins
nessus-core:
nessus-core: Package created by Destry Jaimes ( dj@swicked.net )
nessus-core:

root@slacker:~#

does this mean it installed?
sorry if i sound stupid,. i swear im not, lol, been in the biz for 10 years, just never played with linux, now my organization needs linux, and i have quite a learning curve to overcome. :)

Scarlett 11-18-2005 12:10 PM

missed this in my last post, i did this for all 3 pkg's

root@slacker:~# installpkg nessus-core-2.2.5-i486-1dfj.tgz
Installing package nessus-core-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
nessus-core: nessus-core 2.2.5
nessus-core:
nessus-core: Nessus is an open source remote security scanner.
nessus-core: Required nessus components include:
nessus-core: libnasl, nessus-libraries, and nessus-plugins
nessus-core:
nessus-core: Package created by Destry Jaimes ( dj@swicked.net )
nessus-core:

root@slacker:~#
root@slacker:~# installpkg nessus-libraries-2.2.5-i486-1dfj.tgz
Installing package nessus-libraries-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
nessus-libraries: nessus-libraries 2.2.5
nessus-libraries:
nessus-libraries: libraries for nessus
nessus-libraries:
nessus-libraries: Package created by Destry Jaimes ( dj@swicked.net )
nessus-libraries:
Executing install script for nessus-libraries-2.2.5-i486-1dfj...

root@slacker:~# installpkg nessus-plugins-2.2.5-i486-1dfj.tgz
Installing package nessus-plugins-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
nessus-plugins: nessus-plugins 2.2.5
nessus-plugins:
nessus-plugins: Plugins for Nessus
nessus-plugins:
nessus-plugins: Package created by Destry Jaimes ( dj@swicked.net )
nessus-plugins:

root@slacker:~#

that is where my konsole window is right now
staring at me, waiting for something....but what??? :)

Finlay 11-18-2005 12:10 PM

yes it appears to be installed
now download:
nessus-libraries
nessus-plugins
make sure they are also for the 2.2.5 version
then you should be able to use the program

Scarlett 11-18-2005 12:12 PM

also, i just did the same for the libnasl file,

and the results are

root@slacker:~# installpkg libnasl-2.2.5-i486-1dfj.tgz
Installing package libnasl-2.2.5-i486-1dfj...
PACKAGE DESCRIPTION:
libnasl: libnasl 2.2.5
libnasl:
libnasl: library for nessus
libnasl:
libnasl: Package created by Destry Jaimes ( dj@swicked.net )
libnasl:
Executing install script for libnasl-2.2.5-i486-1dfj...

root@slacker:~#

Finlay 11-18-2005 12:17 PM

ok now you should be able to go into Xwindows and either find an icon for it or type nessus or something like that to run the program. i have never used it so i don't know how it works. i do believe it is a program that run in Xwindows though.

Scarlett 11-18-2005 12:39 PM

yep,. i actually did all of that form within xwindows, or KDE, whatever. and i was able to run the program. thank you so much for your help. this morning i was really intimidated, but you took the fear out of it for me. im sure ill be here looking for lots of help, but i promise when i have a better understanding of linux, ill offer help to others like me! : )

anyway THANK YOU!!!!

Scarlett

Finlay 11-18-2005 12:55 PM

that website is one of the largest collections of slackware packages i have found, i usually look there before i try to install anything from source


All times are GMT -5. The time now is 01:30 AM.