[Snort-users] DAQ complaint. Unable to build snort snort-2.9.4

עמית קליינמן a.b.kleinmann at ...11827...
Fri Jan 25 03:46:48 EST 2013


Hi All,

I am trying to post this message with no luck so far!


I'm trying to install snort 2.9.4 on CentOS 6.3 (64 bits) .

I configured, compiled, and install DAQ successfully by following these
instructions:

·         cd /usr/local/src/daq-2.0.0 <enter>

·         ./configure <enter>

·         make <enter>

·         make install <enter>

Then I followed these instructions to compile SNORT on my CentOS 6.3 system:

·         cd /usr/local/lib <enter>

·         ldconfig –v /usr/local/lib <enter>

·         cd /usr/local/src/snort-2.9.4 <enter>

·         ./configure --enable-sourcefire <enter>

 I get the following error message:



./configure: line 21270: daq-modules-config: command not found checking for
daq_load_modules in -ldaq_static... no

ERROR!  daq_static library not found, go get it from http://www.snort.org/.



When looking at config.log I see there the following lines:



/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'

/usr/local/src/daq-2.0.0/api/daq_base.c:274: undefined reference to
`static_modules'

/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'





My problem appears to be similar to PhilipW's problem posted  here:

http://groups.google.com/group/snortusers/browse_thread/thread/207e39a42b38d144?hl=en


 I've read the README.daq and confirmed that the daq install
directory, "/usr/local/bin",
is in my path:

 so when I run: $ which daq-modules-config
I get:  /usr/local/bin/daq-modules-config

 What can be the cause???

Any help will be very much appreciated.


Amit.


On Thu, Jan 24, 2013 at 11:02 PM, עמית קליינמן <a.b.kleinmann at ...11827...>wrote:

> Hello,
> I have read messages about similar complaint but I have not been able to resolve
> daq complaint during configure.  Will greatly appreciate a nudge
> in the right direction.
>
> After running .configure at the directory:  /usr/local/src/snort-2.9.4
> - I get the following message:
>
> ./configure: line 21270: daq-modules-config: command not found checking
> for daq_load_modules in -ldaq_static... no
> ERROR!  daq_static library not found, go get it from http://www.snort.org/
> .
>
> When looking at config.log I see there the following lines:
>
> /usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
> `num_static_modules'
> /usr/local/src/daq-2.0.0/api/daq_base.c:274: undefined reference to
> `static_modules'
> /usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
> `num_static_modules'
>
>
> "daq-modules-config" is already  in my PATH so when I run: "which
> daq-modules-config" - I get
> /usr/local/bin/daq-modules-config
>
> What can be the cause???
> Any help will be very much appreciated.
>
> waiting to hear back,
>
> A. Kleinmann
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130125/b49b54d4/attachment.html>


More information about the Snort-users mailing list