Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No available formula for openldap (dependency of nginx-full) #50

Closed
wollardj opened this issue Apr 5, 2014 · 6 comments
Closed

Comments

@wollardj
Copy link

wollardj commented Apr 5, 2014

brew reinstall nginx-full --with-auth-ldap-module
==> Reinstalling nginx-full with --with-auth-ldap-module
Error: No available formula for openldap (dependency of nginx-full)

Is openldap actually needed since it's preinstalled on OS X? I'm not 100% certain I understand the outcome of Homebrew/legacy-homebrew#1926

@denji
Copy link
Owner

denji commented Apr 5, 2014

$ brew install openldap

@marcqualie
Copy link
Contributor

@denji that will not solve the issue since that's what --with-auth-ldap-module does under the hood

@wollardj when you mentioned that it's already installed on OSX it made me realise that openldap is actually parts of the dupes tap

brew tap homebrew/dupes

Running the above command before installing nginx-full will do the trick. I'm not sure if there is a way to require a tap for a specific module, however I can update the documentation to warn people in the future if they receive the error message.

The other option is to drop the dependency requirement and rely on the OSX default, then people can choose the dupe tap if they wish.

@denji
Copy link
Owner

denji commented Apr 5, 2014

@marcqualie ldap-module requires #include <ldap.h>

@marcqualie
Copy link
Contributor

@denji correct, which is why openldap must be installed for it to work. brew install openldap will not work unless the homebrew/dupes tap is present which is not there by default.

@wollardj
Copy link
Author

wollardj commented Apr 5, 2014

@marcqualie brew tap homebrew/dupes brought me closer, but now it looks like the auth_ldap module itself has changed. I'm guessing the hash just needs updated:

Error: SHA1 mismatch
Expected: 663c521a487ff5b6c87c59b8fe5a7677410a30b0
Actual: e52a6b131a58a0ded2c7ef162caa122209ffe568
Archive: /Library/Caches/Homebrew/auth-ldap-nginx-module-0.1.tar.gz
To retry an incomplete download, remove the file above.

@marcqualie
Copy link
Contributor

Sorry about that. I've updated the SHA1 on this module via the commit above, a brew update should resolve the issue.

@lock lock bot locked and limited conversation to collaborators Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants