Home page logo

nmap-dev logo Nmap Development mailing list archives

4.22SOC8 bugs, or features?
From: majek04 <majek04+nmap-dev () gmail com>
Date: Mon, 5 Nov 2007 21:41:14 +0100

#1. ubuntu 7.04 (maybe newer...)
$ ./configure && make
g++ -Llibpcap -Wl,-E  -Lnbase -Lnsock/src/   -o nmap main.o nmap.o
targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o
output.o scan_engine.o timing.o charpool.o services.o protocols.o
nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o
FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o
nmap_tty.o nmap_dns.o  traceroute.o portreasons.o nse_main.o
nse_auxiliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o
nse_pcrelib.o nse_string.o  -lnbase -lnsock libpcre/libpcre.a -lpcap
libdnet-stripped/src/.libs/libdnet.a liblua/liblua.a
liblua/liblua.a(loadlib.o): In function `ll_loadfunc':
loadlib.c:(.text+0x907): undefined reference to `dlsym'
loadlib.c:(.text+0x914): undefined reference to `dlerror'
loadlib.c:(.text+0x9ec): undefined reference to `dlopen'
loadlib.c:(.text+0xa01): undefined reference to `dlerror'
liblua/liblua.a(loadlib.o): In function `gctm':
loadlib.c:(.text+0x100e): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [nmap] Błąd 1
make[1]: Opuszczenie katalogu `/dev/shm/nmap-4.22SOC8'
make: *** [all] Błąd 2

Adding -ldl to linking command works.
Shouldn't this be tested at ./configure level?

$ sudo ./nmap -sS -p- --script=ripe.nse
Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-05 18:36 CET
SCRIPT ENGINE: nse/ not a directory
SCRIPT ENGINE: Aborting script scan.

Bug or feature? Why he is looking at nse dir?? (and not scripts/)
After 'make install' it seems to be working.

Marek Majkowski

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]