Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Nmap 6.40 - build errors (ncat)
From: David Fifield <david () bamsoftware com>
Date: Wed, 7 Aug 2013 09:08:59 -0700

On Wed, Aug 07, 2013 at 12:01:10PM +0200, Vlatko Kosturjak wrote:
Hello!

Standard Ubuntu 12.0.4.2 LTS (x86_64) on Amazon instance:

$ ./configure
$ make 
[..]
gcc -I./../liblua  -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. 
-I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c 
ncat_lua.c -o ncat_lua.o
gcc -o ncat -g -O2 -Wall  -L../libpcap  ncat_main.o ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o 
ncat_proxy.o ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o ncat_lua.o ../nsock/src/libnsock.a 
../nbase/libnbase.a -lssl -lcrypto -lpcap ./../liblua/liblua.a -lm -ldl -lssl -lcrypto -ldl 
gcc -I./../liblua  -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. 
-I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c 
test/addrset.c -o test/addrset.o
gcc -o test/addrset -g -O2 -Wall -L../libpcap  test/addrset.o ncat_core.o sys_wrap.o util.o ncat_lua.o -ldl -lssl 
-lcrypto -ldl  ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap ./../liblua/liblua.a -lm
/usr/bin/ld: ./../liblua/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO 
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [test/addrset] Error 1
make[1]: Leaving directory `/home/ubuntu/src/nmap-6.40/ncat'
make: *** [ncat_build] Error 2
ubuntu () localhost:~/src/nmap-6.40$ 

I think it is this issue fixed in SVN:
http://seclists.org/nmap-dev/2013/q3/216

David Fifield
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

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