Snort mailing list archives
Re: ./configure ERROR!
From: Todd Wease <twease () sourcefire com>
Date: Wed, 14 May 2008 21:59:54 -0400
Hi Curtis, A few things to check. Is there a file named libdl.so or similar in /lib or /usr/lib? Try compiling and running the following with $ gcc -rdynamic dl_test.c -ldl $ ./a.out #include <stdio.h> #include <dlfcn.h> #include <stdlib.h> int main(int argc, char **argv) { void *handle; double (*cosine)(double); char *error; handle = dlopen ("libm.so", RTLD_LAZY); if (!handle) { fprintf (stderr, "%s\n", dlerror()); exit(1); } cosine = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { fprintf (stderr, "%s\n", error); exit(1); } printf ("%f\n", (*cosine)(2.0)); dlclose(handle); return 0; } I think this library is included with glibc. Make sure you have that installed. Can you configure and compile Snort without the MySQL switches to configure? If you can, make sure you have all of the MySQL libs and headers installed. Your MySQL lib and include dirs should look something like the following. [twease@desktop: ~] $ ls /usr/lib/mysql/ libdbug.a libheap.a libmyisam.a libmyisammrg.a libmysqlclient.a libmysqlclient_r.a libmysqlclient_r.so libmysqlclient_r.so.15 libmysqlclient_r.so.15.0.0 libmysqlclient.so libmysqlclient.so.15 libmysqlclient.so.15.0.0 libmystrings.a libmysys.a libvio.a mysqlbug mysql_config [twease@desktop: ~] $ ls /usr/include/mysql/ chardefs.h mysqld_error.h decimal.h mysql_embed.h errmsg.h mysql.h history.h mysql_time.h keycache.h mysql_version.h keymaps.h my_sys.h m_ctype.h my_xml.h m_string.h raid.h my_alloc.h readline.h my_attribute.h rlmbutil.h my_config.h rlprivate.h my_config_i386.h rlshell.h my_dbug.h rltypedefs.h my_dir.h sql_common.h my_getopt.h sql_state.h my_global.h sslopt-case.h my_list.h sslopt-longopts.h my_net.h sslopt-vars.h my_no_pthread.h tilde.h my_pthread.h typelib.h mysql_com.h xmalloc.h mysqld_ername.h Todd Curtis LaMasters wrote:
I am getting an error when running ./configure on a freshly installed Suse 10.3 system. The error is: ERROR! programmatic interface to dynamic link loader not found. Cannot use dynamic plugin libraries. It follows these two lines: checking for dlsym in -ldl... no checking for dlsym in -lc... no I am trying to install Snort with MySQL support. Any ideas? -- Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------ _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- ./configure ERROR! Curtis LaMasters (May 14)
- Re: ./configure ERROR! YARICK (May 14)
- Re: ./configure ERROR! Curtis LaMasters (May 14)
- Re: ./configure ERROR! Nigel Houghton (May 14)
- Re: ./configure ERROR! Todd Wease (May 14)
- Re: ./configure ERROR! Curtis LaMasters (May 15)
- Re: ./configure ERROR! Nigel Houghton (May 15)
- Re: ./configure ERROR! Curtis LaMasters (May 15)
- Re: ./configure ERROR! Nigel Houghton (May 15)
- Re: ./configure ERROR! Curtis LaMasters (May 15)
- Re: ./configure ERROR! YARICK (May 15)
- Re: ./configure ERROR! Curtis LaMasters (May 15)
- Re: ./configure ERROR! YARICK (May 14)
- Re: ./configure ERROR! JJ Cummings (May 15)