[MacPorts] #70730: snort fails to build: ERROR! openssl/x509.h or openssl library not found

MacPorts noreply at macports.org
Sat Apr 5 05:58:11 UTC 2025


#70730: snort fails to build: ERROR!  openssl/x509.h or openssl library not found
---------------------------+-----------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:  ppc, i386
      Port:  snort         |
---------------------------+-----------------------

Comment (by barracuda156):

 Turns out it is upstream breaking the configure. This fixes it:
 {{{
 --- configure.orig      2025-04-05 13:47:10.000000000 +0800
 +++ configure   2025-04-05 13:55:41.000000000 +0800
 @@ -18312,11 +18312,6 @@
          LUA_CFLAGS="$luajit_CFLAGS"
          LUA_LIBS="$luajit_LIBS"

 -
 -        if test "x$macos" != "xno"; then
 -            LDFLAGS="${LDFLAGS} -pagezero_size 10000 -image_base
 100000000"
 -        fi
 -
      else
          echo
          echo "   ERROR!  LuaJIT library not found. Go get it from
 http://www.luajit.org/ (or)"

 }}}

 I.e. just drop forced flags.

-- 
Ticket URL: <https://trac.macports.org/ticket/70730#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list