Nmap Development mailing list archives

Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10


From: "Kris Katterjohn" <katterjohn () gmail com>
Date: Thu, 1 Nov 2007 08:07:18 -0500

On 11/1/07, Eddie Bell <ejlbell () gmail com> wrote:
if I remember correctly you need to install libstdc++6-4.2-dev

On 01/11/2007, Gaveen Prabhasara <gaveens () gmail com> wrote:
Well, I'm away from my computer. So please bare with me if this is an
Ubuntu problem. I'll check it soon.

I tried to install nmap svn 6093 on a friends computer which is
running Ubuntu 7.10 (Gutsy). Here's what I got

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] Error 1
make[1]: Leaving directory `/home/xxxxx/Setups/Nmap/nmap-svn-20071101'
make: *** [all] Error 2

Has anyone seen this or did I forget something? :) I'll check it on
my Ubuntu box later.

Cheers,
Gav


I'm running 7.06 on one computer and 7.10 on another, and I got
liblua, libpcap and libpcre via apt-get (which speeds up Nmap
compilation).

I'm not saying Eddie is wrong; I haven't tried it as I grabbed the
libstdc stuff and the above mentioned libraries when I installed :)

Thanks,
Kris Katterjohn

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: