Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Snort not starting on version 2.0 freebsd 8.0 11/10/09 (clean install)

    Scheduled Pinned Locked Moved pfSense Packages
    13 Posts 2 Posters 6.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      grandrivers
      last edited by

      when I try to start snort this is all that shows in the system log

      Oct 31 04:48:27 SnortStartup[18444]: Ram free BEFORE starting Snort: 1785M – Ram free AFTER starting Snort: 1785M -- Mode ac-bnfa -- Snort memory usage:

      pfsense plus 25.03 super micro A1SRM-2558F
      C2558 32gig ECC  60gig SSD

      1 Reply Last reply Reply Quote 0
      • G Offline
        grandrivers
        last edited by

        this is what I get when trying to start snort from console looks like its a missing lib problem

        /libexec/ld-elf.so.1: Shared object "libpcap.so.5" not found, required by "snort

        pfsense plus 25.03 super micro A1SRM-2558F
        C2558 32gig ECC  60gig SSD

        1 Reply Last reply Reply Quote 0
        • G Offline
          grandrivers
          last edited by

          anyone have any ideas to help

          pfsense plus 25.03 super micro A1SRM-2558F
          C2558 32gig ECC  60gig SSD

          1 Reply Last reply Reply Quote 0
          • G Offline
            grandrivers
            last edited by

            anyone?

            pfsense plus 25.03 super micro A1SRM-2558F
            C2558 32gig ECC  60gig SSD

            1 Reply Last reply Reply Quote 0
            • J Offline
              jamesdean
              last edited by

              grandrivers

              Are you using the latest package ?

              Did you try updating the pfsense version ?

              James

              1 Reply Last reply Reply Quote 0
              • G Offline
                grandrivers
                last edited by

                I am using latest snapshot and the latest snort package and still looks like a missing lib

                snort

                /libexec/ld-elf.so.1: Shared object "libpcap.so.5" not found, required by "snort"                                                                            "

                pfsense plus 25.03 super micro A1SRM-2558F
                C2558 32gig ECC  60gig SSD

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jamesdean
                  last edited by

                  @grandrivers:

                  I am using latest snapshot and the latest snort package and still looks like a missing lib

                  snort

                  /libexec/ld-elf.so.1: Shared object "libpcap.so.5" not found, required by "snort"                                                                             "

                  Sorry your questions but I been really busy at work.

                  That error may be because snort needs to be compiled with for freebsd 8.0.

                  Please post these commands.

                  pkg_info

                  and

                  find / | grep libpcap.so

                  James

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    grandrivers
                    last edited by

                    pkg_info

                    libdnet-1.11_3      A simple interface to low level networking routines
                    mysql-client-5.1.34 Multithreaded SQL database (client)
                    pcre-7.9            Perl Compatible Regular Expressions library
                    perl-5.8.9_3        Practical Extraction and Report Language
                    snort-2.8.4.1_1    Lightweight network intrusion detection system

                    find / | grep libpcap.so

                    /lib/libpcap.so.7
                    /usr/local/lib/libpcap.so.3
                    /usr/local/lib/libpcap.so
                    /usr/lib/libpcap.so

                    pfsense plus 25.03 super micro A1SRM-2558F
                    C2558 32gig ECC  60gig SSD

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jamesdean
                      last edited by

                      grand

                      It seems 8.0 has updated the libpcap libs. So snort binary will have to be built for 8.0.

                      A quick fix is to soft link so.7 with so.5.

                      ln /lib/libpcap.so.7 /lib/libpcap.so.5

                      James

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        grandrivers
                        last edited by

                        thank you very much I had reversed the order of the libs in the command

                        pfsense plus 25.03 super micro A1SRM-2558F
                        C2558 32gig ECC  60gig SSD

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.