What is this error cannot find -lelf
I am trying to compile aide. The commands are ./configure,make, make install.
I get two errors on the make command and never make it to the make install command. Code:
gcc -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS -W -Wall -g -g -O2 -static -o aide aide.o base64.o be.o commandconf.o compare_db.o conf_lex.o conf_yacc.o db.o db_disk.o db_file.o db_lex.o db_list.o db_sql.o do_md.o error.o gen_list.o getopt1.o getopt.o gnu_regex.o list.o md.o snprintf.o symboltable.o util.o -lm -lelf The error is Code:
cc -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS -W -Wall -g -g -O2 -static -o aide aide.o base64.o be.o commandconf.o compare_db.o conf_lex.o conf_yacc.o db.o db_disk.o db_file.o db_lex.o db_list.o db_sql.o do_md.o error.o gen_list.o getopt1.o getopt.o gnu_regex.o list.o md.o snprintf.o symboltable.o util.o -lm -lelf It is not finding -lelf. ld returned 1 exit status I am not sure how to make it find lelf. Any help appreciated. Thanks in advance. R, jyunker |
I think you have a tab instead of a space in your command line right before calling out the library elf
|
"lelf" = libelf.so
* How to decide a package providing libelf.so : $ yum provides */libelf.so Install the package : # yum install elfutils-libelf-devel Installing `aide-0.14.3' : # yum install aide - |
explain please
I am not sure what you are saying:
Code:
I think you have a tab instead of a space in your command line right before calling out the library elf R, jyunker |
The package in question is already installed.
Code:
[root@james sysconfig]# sudo yum install elfutils-libelf-devel-0.152-1.el6.x86_64 So it should be finding it. Also why did you type : yum provides */libelf.so instead of yum provides libelf.so ? Thanks in advance. R, jyunker |
Quote:
|
All times are GMT -5. The time now is 02:20 PM. |