Nmap Development mailing list archives
Re: compile error for openssl.lua
From: B E <awhitehttr () gmail com>
Date: Tue, 6 Mar 2012 13:13:28 -0700
Hello, Just checking, can anyone confirm that the installation of libssl-dev package && recompile worked? thanks, be * Re: compile error for openssl.lua* ------------------------------ *From*: Patrik Karlsson <patrik () cqure net> *Date*: Fri, 20 Jan 2012 09:02:19 -0500 ------------------------------ On Fri, Jan 20, 2012 at 8:05 AM, Jan Reister <Jan.Reister () unimi it> wrote: After compiling the latest svn (https://svn.nmap.org/nmap Revision: 27874) I get an error for lua when using nmap with NSE. I am on Ubuntu 11.10 amd64, liblua5.1-dev is installed. There is no /usr/local/share/lua/5.1/ directory, and after I tried compiling lua usr/local/share/lua/5.1/ is empty. What could it be? Jan # nmap -A localhost Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-20 13:57 CET NSE: Failed to load /usr/local/bin/../share/nmap/scripts/ipv6-node-info.nse: ...r/local/bin/../share/nmap/scripts/ipv6-node-info.nse:32: module 'openssl' not found: no field package.preload['openssl'] no file './openssl.lua' no file '/usr/local/share/lua/5.1/openssl.lua' no file '/usr/local/share/lua/5.1/openssl/init.lua' no file '/usr/local/lib/lua/5.1/openssl.lua' no file '/usr/local/lib/lua/5.1/openssl/init.lua' no file './openssl.so' no file '/usr/local/lib/lua/5.1/openssl.so' no file '/usr/local/lib/lua/5.1/loadall.so' NSE failed to find nselib/openssl.lua in search paths. stack traceback: [C]: in function 'require' ...r/local/bin/../share/nmap/scripts/ipv6-node-info.nse:32: in main chunk NSE: failed to initialize the script engine: /usr/local/bin/../share/nmap/nse_main.lua:435: could not load script stack traceback: [C]: in function 'error' /usr/local/bin/../share/nmap/nse_main.lua:435: in function 'new' /usr/local/bin/../share/nmap/nse_main.lua:638: in function 'Entry' /usr/local/bin/../share/nmap/scripts/script.db:155: in function 'db_closure' /usr/local/bin/../share/nmap/nse_main.lua:652: in function 'get_chosen_scripts' /usr/local/bin/../share/nmap/nse_main.lua:1096: in main chunk [C]: ? QUITTING! _______________________________________________ Sent through the nmap-dev mailing listhttp://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/ Hi Jan, Based on the error message your seeing I think lua is working fine. The problem seems to be that Nmap isn't compiled with SSL-support and the ipv6-node-info.nse fails to properly check for that. I'll make sure to fix that in the script later today. Meanwhile, you can try installing the libssl-dev package and re-compile to see if the error goes away. Cheers, Patrik -- Patrik Karlssonhttp://www.cqure.nethttp://twitter.com/nevdull77 _______________________________________________ Sent through the nmap-dev mailing listhttp://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/ _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- compile error for openssl.lua Jan Reister (Jan 20)
- Re: compile error for openssl.lua Patrik Karlsson (Jan 20)
- <Possible follow-ups>
- Re: compile error for openssl.lua B E (Mar 06)
- Re: compile error for openssl.lua B E (Mar 06)