LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2013, 07:45 AM   #1
funkyslacker
LQ Newbie
 
Registered: Sep 2012
Location: Germany
Distribution: Slackware64-14.0, Slackware-current, Slackware ARM
Posts: 15

Rep: Reputation: Disabled
Snort install problems


Hi,

I tried to install snort 2.9.4.5 (latest version). I installed libdnet and daq (both latest version) with some trouble but both are correctly installed (IMO). When I run the snort configure script I always get the following error message:
Quote:
checking for daq_load_modules in -ldaq_static... no

ERROR! daq_static library not found, go get it from
http://www.snort.org/.
I used google to find some answers and I tried to insert the daq path in the PATH variable:
Quote:
/usr/lib:/usr/lib/daq:/usr/local/texlive/2012/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
Then I read that snort configure script tries to run daq-modules-config. "which" gives me the following:
Quote:
which daq-modules-config
/usr/bin/daq-modules-config
I installed daq with options --prefix=/usr --sysconfdir=/etc and nothing else.
I'm quite confused and I'm running out of ideas, what I'm doing wrong. Anyone here who can help me?

Edit: I'm running Slackware 13.37 64Bit

Last edited by funkyslacker; 04-18-2013 at 07:47 AM. Reason: Entered OS
 
Old 04-18-2013, 08:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check the config.log file that ./configure made, should show what the test performed was for you to manually recreate.
 
Old 04-18-2013, 08:33 AM   #3
funkyslacker
LQ Newbie
 
Registered: Sep 2012
Location: Germany
Distribution: Slackware64-14.0, Slackware-current, Slackware ARM
Posts: 15

Original Poster
Rep: Reputation: Disabled
I recognized some errors in config.log
Most errors are in confdefs.(h|c) like this:
Quote:
conftest.c: In function 'main':
conftest.c:95:23: error: expected expression before ')' token
configure:18356: $? = 1
configure: failed program was:
| /* confdefs.h. */
One error is:
Quote:
configure:21273: checking for daq_load_modules in -ldaq_static
configure:21308: gcc -o conftest -g -O2 -DDYNAMIC_PLUGIN -I/usr/include -L/usr/lib64 -lpcre -L/usr/lib -ldnet conftest.c -ldaq_static -ldnet -lcrypto -lpcre -lpcap -lnsl -luuid -lm -lm -ldl -L/usr/lib -ldaq_static_modules -lsfbpf -lpcap -lsfbpf -lipq -lsfbpf -lpcap -L/usr/lib -ldnet >&5
/tmp/ccaLGtXf.o: In function `main':
/tmp/snort-2.9.4.5/conftest.c:88: undefined reference to `daq_load_modules'
collect2: ld returned 1 exit status
I don't know what to do. This is the first time I got such an error. I've attached the config.log.
Attached Files
File Type: log config.log (98.2 KB, 40 views)
 
Old 04-18-2013, 01:10 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Moved: This thread is more suitable in the Linux Software forum (not a Linux Security issue) and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP]SNORT PROBLEMS(IDS)-service snort start JayCool Linux - Software 5 03-15-2009 12:34 PM
Having problems with Snort and SquirrelMAIL any help plezzzz pwfd2135 Linux - General 4 05-04-2006 03:15 PM
Snort installation problems on slackware 10 scribbler001 Linux - Security 8 04-18-2005 12:09 PM
problems with installing SNORT gottin Linux - Software 1 08-03-2004 01:28 AM
ACID Snort Mysql problems netmon Linux - Software 1 11-10-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration