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!

Do you have Libtool installed?

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

>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.

Oh ok. Well, then how do I link the libtool library to it?

>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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.