nessus....

jcwaters

2002-03-26 22:41:00

After much wailing and gnashing of teeth, I have
managed to get nessus to almost build with one
error that keeps it from linking... ld can't locate lrand48()

I am probably capable of getting it to build, but has anyone out there actually gotten it to build?

-johnny

macubergeek

2002-04-11 13:39:00

You have probably already done this, but here goes. Deraison suggests that you make sure you have OpenSSL installed and that you are using the latest (experimental) version of nessus.

orange1

2002-04-11 15:36:00

openssl 0.9.6c [0.9.6b is part of 10.1.3 with the security updates]
make test fails:
output: f1 64 41 a7 00 00 a4 df 00 00 00 e9 53 e1 69 18 36 ff 78 00 00
expect: d6 a1 41 a7 ec 3c 38 df bd 61 5a 11 62 e1 c7 ba 36 b6 78 58 00error in RC4 multi-call processing
output: f1 64 41 a7 00 00 a4 df 00 00 00 e9 53 e1 69 18 36 ff 78 00 00
expect: d6 a1 41 a7 ec 3c 38 df bd 61 5a 11 62 e1 c7 ba 36 b6 78 58 00done
make[1]: *** [test_rc4] Error 45
make: *** [tests] Error 2

all the other tests passed fine.
if i install anyway, libnasl [second part to install for nessus, after libraries, before core and plugins], make fails:
gcc -pipe `sh ./cflags` -I. -I/usr/local/include -I/Users/willy/Desktop/libnasl/include -o nasl -DVERSION=\"1.1.14\" nasl.c init.o parser.o function_call.o sanitize.o send_packet.o pkt_utils.o prompt.o udp.o tcp.o ip.o pcap.o instruction.o pcap_next.o boolean.o strutils.o inet.o execute.o nessus_extensions.o igmp.o icmp.o nasl_rpc.o nasl_memory.o regex.o w32.o `/usr/local/bin/nessus-config --libs`
/usr/bin/ld: Undefined symbols:
_lrand48
_srand48
make[1]: *** [nasl] Error 1
make: *** [all] Error 2


i'd like to get this one myself. any others out there with something to add?

jcwaters

2002-07-07 16:29:00

Turns out that the latest nessus builds w/o issue.. I am responding to this just for posterity.

I ended up taking the l/srand48() defs from freebsd, and pasting the code needed into one of the libnasl or nessuslib source files, I forget which one... it worked like a champ [img]images/icons/smile.gif"%20border="0[/img]

hackish? Absolutly... but it worked [img]images/icons/smile.gif"%20border="0[/img]

-johnny