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

    Snort reinstall and new failing: libpcre.so.1: unsupported file layout

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 5 Posters 4.5k 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.
    • _
      _igor_
      last edited by

      I did a reinstall of snort 2.9.2.3 pkg 2.2.1 on amd64 v 2.0.1 full install following the deinstall-rules mentioned here:

      http://forum.pfsense.org/index.php/topic,50540.msg269880.html#msg269880
      ```.
      
      But now i get this error:
      
      

      /libexec/ld-elf.so.1: /usr/local/lib/libpcre.so.1: unsupported file layout

      
      Any help appreciated! thx
      1 Reply Last reply Reply Quote 0
      • J
        jamesdean
        last edited by

        What package "snort-dev" or "snort" ?

        Also what pfSense version do you use.

        Robert

        1 Reply Last reply Reply Quote 0
        • _
          _igor_
          last edited by

          snort, and pfsense 2.0.1

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Try this:

            uninstall, then from the shell:

            pkg_delete -f snort* pcre*

            Then try to reinstall.

            I checked the version of PCRE on the package server, and the one required by snort is built for amd64 so I'm not sure how you'd have pulled in the wrong one.

            Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • knight-of-niK
              knight-of-ni
              last edited by

              Running pfsense 2.01 amd64.
              I just upgraded my snort package to 2.9.2.3 pkg v. 2.5.1 and ran into the same problem.
              The system logs produced no error message, but trying to start snort from the command line revealed the same error message described in this thread.

              The issue was resolved by following jimp's instructions.

              Thank you.

              1 Reply Last reply Reply Quote 0
              • H
                humps
                last edited by

                @jimp:

                Try this:

                uninstall, then from the shell:

                pkg_delete -f snort* pcre*

                Then try to reinstall.

                I checked the version of PCRE on the package server, and the one required by snort is built for amd64 so I'm not sure how you'd have pulled in the wrong one.

                THANK YOU VERY MUCH!
                your instructions helped me to get Snort Running againĀ  :D
                I'm running Pfsense 2.0.1 X64 with Snort 2.9.2.3 Pkg 2.5.1
                Link to my post: http://forum.pfsense.org/index.php/topic,52854.0.html

                Thanks again

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