0

Hi, I have been having very frustrating problems lately with installing things. The problems start when I configure.

configure:24993: gcc -o conftest -g -O2 conftest.c -ldl -ldl >&5
/tmp/ccqVtOow.o: In function `main':
/home/mason/Download/ettercap-NG-0.7.3/conftest.c:77: undefined reference
to `lt_dlopen'
collect2: ld returned 1 exit status
configure:24999: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "ettercap"
| #define VERSION "NG-0.7.3"
| #define OS_LINUX 1
| #define INSTALL_PREFIX "/usr/local"
| #define INSTALL_EXECPREFIX "/usr/local"
| #define INSTALL_SYSCONFDIR "/usr/local/etc"
| #define INSTALL_DATADIR "/usr/local/share"
| #define INSTALL_LIBDIR "/usr/local/lib"
| #define INSTALL_BINDIR "/usr/local/bin"
| #define GCC_VERSION "4.3.0"
| #define YYTEXT_POINTER 1
| #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_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| #define HAVE_DIRENT_H 1
| #define LTDL_SHLIB_EXT ".so"
| #define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH"
| #define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
| #define LTDL_OBJDIR ".libs/"
| #define HAVE_PRELOADED_SYMBOLS 1
| #define HAVE_LIBDL 1
| #define HAVE_DLERROR 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERROR_T 1
| #define HAVE_ARGZ_APPEND 1
| #define HAVE_ARGZ_CREATE_SEP 1
| #define HAVE_ARGZ_INSERT 1
| #define HAVE_ARGZ_NEXT 1
| #define HAVE_ARGZ_STRINGIFY 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRCHR 1
| #define HAVE_STRRCHR 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRCMP 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_OPENDIR 1
| #define HAVE_READDIR 1
| /* end confdefs.h. */

and this

configure: failed program was: #ifndef __cplusplus choke me #endif

What packages to I need to install? this is really making me mad!

2
Contributors
6
Replies
7
Views
9 Years
Discussion Span
Last Post by kodiak
0

I have just installed it, I'm checking out the documentation.... how can it help me with this?

0

>how can it help me with this?
Your error was an undefined reference to lt_dlopen (a Libtool function), indicating that the Libtool library wasn't linked with your executable.

0

>Well, then how do I link the libtool library to it?
Usually having it installed does the trick. If not, you may have to adjust your library search paths.

0

Well I do have it installed, so how do I adjust those searchpaths?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.