Nmap Development mailing list archives
Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10
From: "Eddie Bell" <ejlbell () gmail com>
Date: Thu, 1 Nov 2007 13:41:10 +0000
On 01/11/2007, Kris Katterjohn <katterjohn () gmail com> wrote:
I'm not saying Eddie is wrong :)
I think I am :p I had this exact some problem a couple of days ago when I installed gusty. I fixed it but can't remember how. Running ldd against my nmap binary shows ..<snip - crypto libs>... libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002b3f6df90000) libm.so.6 => /lib/libm.so.6 (0x00002b3f6e29c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b3f6e51d000) libc.so.6 => /lib/libc.so.6 (0x00002b3f6e72b000) llibdl.so.2 => /lib/libdl.so.2 (0x00002b3f6ea87000) libz.so.1 => /usr/lib/libz.so.1 (0x00002b3f6ec8b000) /lib64/ld-linux-x86-64.so.2 (0x00002b3f6d582000)
From a little searching it seems libdl (which dlopen is part of)
resides in the libc-dev package. I would try to install that, then do a 'make distclean ; ./configure ; make'. If that doesn't work then I don't know :|
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, GavI'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). 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:
- Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Gaveen Prabhasara (Nov 01)
- Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Eddie Bell (Nov 01)
- Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Kris Katterjohn (Nov 01)
- Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Eddie Bell (Nov 01)
- Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Kris Katterjohn (Nov 01)
- Re: Make errors: liblua.a(loadlib.o) in SVN revision 6093 on Ubuntu 7.10 Eddie Bell (Nov 01)