Nmap Development mailing list archives

[BUG] configure: lua version check is done with C++ compiler


From: John Spencer <maillist-nmap () barfooze de>
Date: Sat, 08 Sep 2012 21:49:22 +0200

configure:6910: checking for lua version >= 501
configure:6928: g++ -o conftest -g -O2 -Wall -fno-strict-aliasing -I/usr/include/lua -I$(top_srcdir)/libdnet-stripped/include -I//include/luajit-2.0/ -Wl,-E -lz -Wl,-rpath-link=//li$
configure:6928: $? = 0
configure:6928: ./conftest
Error loading shared library libstdc++.so.6: No such file or directory (needed by ./conftest)

it should be compiled with $(CC), not $(CXX)
it is a pure C library, and having it linked to libstdc++.so.6 is undesirable
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: