big-r81 commented on PR #4814:
URL: https://github.com/apache/couchdb/pull/4814#issuecomment-1800865306

   Solved the "OpenSSL not found" error. Installed the wrong architecture (x86 
instead x64).
   Needed to tweak the 'rebar.config' again, that the liibrary linking is 
working:
   
   ```diff
   diff --git a/src/fast_pbkdf2/rebar.config b/src/fast_pbkdf2/rebar.config
   index a0ef529ca..486434801 100644
   --- a/src/fast_pbkdf2/rebar.config
   +++ b/src/fast_pbkdf2/rebar.config
   @@ -39,8 +39,10 @@
            % From files
            ["c_src/*.c"],
            % Using options
   -        [ {env, [{"CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -fPIC"},
   -                 {"LDLIBS", "$LDLIBS -lcrypto"},
   +        [ {env, [{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS 
-std=c99 -O3 -g -Wall -Wextra -fPIC"},
   +                 {"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"},
   +                 {"(linux|solaris|darwin|freebsd)", "LDLIBS", "$LDLIBS 
-lcrypto"},
   +                 {"win32", "LDLIBS", "$LDLIBS libcrypto.lib"},
                     {"DRV_LINK_TEMPLATE", "$DRV_LINK_TEMPLATE $LDLIBS"}]}]
         }
     ]}.
   ```
   
   I think I will create a PR in the `fast_pbkdf2` repo...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to