Hi -

I was able to work my way past this issue by patching the formulae in the git 
area that brew creates on your local.

brew reinstall openldap
brew reinstall -s apr-util

After making these changes:

diff --git a/Formula/openldap.rb b/Formula/openldap.rb
index bc6bde9fe..710265ec1 100644
--- a/Formula/openldap.rb
+++ b/Formula/openldap.rb
@@ -4,11 +4,11 @@ class Openldap < Formula
   url 
"https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.47.tgz";
   sha256 "f54c5877865233d9ada77c60c0f69b3e0bfd8b1b55889504c650047cc305520b"
 
-  bottle do
-    sha256 "07e1f0e3ec1a02340a82259e1ace713cfb362126404575032713174935f4140e" 
=> :mojave
-    sha256 "8901626fc45d76940dec5e516b23d81c9970f4a4a94650bdad60228d604c1b4a" 
=> :high_sierra
-    sha256 "6dc84ff9e088116201a47adc5c3a2aab28ffd10dbab9d677d49ad7eef1ccc349" 
=> :sierra
-  end
+#  bottle do
+#    sha256 "07e1f0e3ec1a02340a82259e1ace713cfb362126404575032713174935f4140e" 
=> :mojave
+#    sha256 "8901626fc45d76940dec5e516b23d81c9970f4a4a94650bdad60228d604c1b4a" 
=> :high_sierra
+#    sha256 "6dc84ff9e088116201a47adc5c3a2aab28ffd10dbab9d677d49ad7eef1ccc349" 
=> :sierra
+#  end
 
   keg_only :provided_by_macos
 
@@ -35,6 +35,7 @@ class Openldap < Formula
       --enable-refint
       --enable-retcode
       --enable-seqmod
+      --enable-sssvlv=yes
       --enable-translucent
       --enable-unique
       --enable-valsort

======

diff --git a/Formula/apr-util.rb b/Formula/apr-util.rb
index 4dee25282..97f460398 100644
--- a/Formula/apr-util.rb
+++ b/Formula/apr-util.rb
@@ -5,24 +5,28 @@ class AprUtil < Formula
   sha256 "d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b"
   revision 1
 
-  bottle do
-    sha256 "e4927892e16a3c9cf0d037c1777a6e5728fef2f5abfbc0af3d0d444e9d6a1d2b" 
=> :mojave
-    sha256 "1bdf0cda4f0015318994a162971505f9807cb0589a4b0cbc7828531e19b6f739" 
=> :high_sierra
-    sha256 "75c244c3a34abab343f0db7652aeb2c2ba472e7ad91f13af5524d17bba3001f2" 
=> :sierra
-    sha256 "bae285ada445a2b5cc8b43cb8c61a75e177056c6176d0622f6f87b1b17a8502f" 
=> :el_capitan
-  end
+#  bottle do
+#    sha256 "e4927892e16a3c9cf0d037c1777a6e5728fef2f5abfbc0af3d0d444e9d6a1d2b" 
=> :mojave
+#    sha256 "1bdf0cda4f0015318994a162971505f9807cb0589a4b0cbc7828531e19b6f739" 
=> :high_sierra
+#    sha256 "75c244c3a34abab343f0db7652aeb2c2ba472e7ad91f13af5524d17bba3001f2" 
=> :sierra
+#    sha256 "bae285ada445a2b5cc8b43cb8c61a75e177056c6176d0622f6f87b1b17a8502f" 
=> :el_capitan
+#  end
 
   keg_only :provided_by_macos, "Apple's CLT package contains apr"
 
   depends_on "apr"
   depends_on "openssl"
+  depends_on "openldap"
 
   def install
     # Install in libexec otherwise it pollutes lib with a .exp file.
     system "./configure", "--prefix=#{libexec}",
                           "--with-apr=#{Formula["apr"].opt_prefix}",
                           "--with-crypto",
-                          "--with-openssl=#{Formula["openssl"].opt_prefix}"
+                          "--with-openssl=#{Formula["openssl"].opt_prefix}",
+                         "--with-ldap",
+                         "--with-ldap-lib=#{Formula["openldap"].opt_lib}",
+                         
"--with-ldap-include=#{Formula["openldap"].opt_include}"
     system "make"
     system "make", "install"
     bin.install_symlink Dir["#{libexec}/bin/*"]

Regards,
Dave

On 2019/04/24 18:13:29, Dave Fisher <dave2w...@comcast.net> wrote: 
> Hi -
> 
> I’m trying to setup my High Sierra MacOS laptop and am encountering a problem 
> with the instructions on MACOSX.md.
> 
> Namely brew no longer supports the options for:
> 
> brew install openldap --with-sssvlv
> brew reinstall -s apr-util --with-openldap
> 
> This means I end up with no LDAP support and I get an error on https startup 
> here:
> 
> httpd: Syntax error on line 535 of /usr/local/etc/httpd/httpd.conf: Cannot 
> load lib/httpd/modules/mod_ldap.so into server: 
> dlopen(/usr/local/opt/httpd/lib/httpd/modules/mod_ldap.so, 10): image not 
> found
> 
> Please advise
> 
> Regards,
> Dave

Reply via email to