Zerobugs show error elf_version flag.

Apr 1, 2012 at 6:26 AM

Hello All,
After build with ./configure command line show an error " /usr/bin/ld: cannot find -lelf". Why request "elf" with ld command line.

configure:5145: g++ -o conftest -I/usr/local/include  -I~/boost-truck/include/ -L/usr/local/lib64  conftest.cpp -lelf -lpthread  >&57700 /usr/bin/ld: cannot find -lelf 
collect2:
ld returned 1 exit status 7702 configure:5145: $? = 1 
configure: failed program was: 
/* confdefs.h */ 7705 | #define PACKAGE_NAME "The-Zero-Debugger" 

#define PACKAGE_TARNAME "the-zero-debugger" 7707 | #define PACKAGE_VERSION "1.19" 
#define PACKAGE_STRING "The-Zero-Debugger 1.19" 
#define PACKAGE_BUGREPORT "http://www.zerobugs.org" 7710 | #define PACKAGE_URL "" 
#define HAVE_BOOST /**/ 
#define STDC_HEADERS 1 
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1 
#define HAVE_STRING_H 1 
#define HAVE_MEMORY_H1 
#define HAVE_STRINGS_H 1 
#define HAVE_INTTYPES_H 1 
#define HAVE_STDINT_H 1 
#define HAVE_UNISTD_H 1 
#define HAVE_PYTHON 1 
#define HAVE_BOOST_PYTHON /**/ 
#define HAVE_YYFLEXLEXER_YYWRAP 1 
/* end confdefs.h.  */

May 6, 2012 at 3:24 AM

As stated in the README, libelf is required.

On a Ubuntu system, install libelf-dev using apt-get or Synaptic and that should take care of the issue.

Regards,

Cristian

May 8, 2012 at 2:53 AM

Hi Cristian,

    I install libelf-dev to the Ubuntu system. It's completed for running on GUI mode.

Thank you.
Chatsiri Rattana