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

macOS (ARM64) CouchDB 3.3.2 and CouchDB 3.2.3 zip files are cmp -l identical #4797

Open
wjblume opened this issue Oct 5, 2023 · 7 comments

Comments

@wjblume
Copy link

wjblume commented Oct 5, 2023

Description

Steps to Reproduce

Download from https://couchdb.apache.org/#download and cmp -l the zips.

Expected Behaviour

Your Environment

  • CouchDB version used:
  • Browser name and version:
  • Operating system and version:

Additional Context

@nickva
Copy link
Contributor

nickva commented Oct 5, 2023

Thank you for your report.

macOS binaries are provided as a courtesy by Neighbourhood.ie. They currently seem to provide only the latest 3.3.2 release as indicated in https://neighbourhood.ie/download-apache-couchdb-mac. If you see 3.3.2 on their download-apache-couchdb-mac page when you get both zip files, they will (unsurprisingly) have the exact same contents.

The issue for Apache CouchDB website is that it indicates that both 3.3.2 and 3.2.3 versions are available. We should fix it by removing the 3.2.3 link, and perhaps provide a generic "Download macOS binaries from $link-to-neighbourhood.ie".

@big-r81
Copy link
Contributor

big-r81 commented Oct 5, 2023

Hi,

it seems that the redirection isn't working (@janl).
@wjblume If you use this link, you get a list af available versions.

@wjblume
Copy link
Author

wjblume commented Oct 9, 2023

@big-r81,
Thanks, that link got me 3.3.2 and 3.2.3 versions that at least differed. The 3.3.2 was the same as I got from the original link, and failed to load. The couchdb.logs indicated that it had a dependency that had a dependency, that... depended on Homebrew being installed. After installing Homebrew (twice) the install *.pkg seemed to leave out a lot. I finally did a shell install and got things working, mostly... :-}

@wjblume
Copy link
Author

wjblume commented Oct 9, 2023

Ah, 3.2.3 does NOT have Homebrew dependencies. Build error on 3.3.2?

This is the macOS ARM versions.

@big-r81
Copy link
Contributor

big-r81 commented Oct 9, 2023

The couchdb.logs indicated that it had a dependency that had a dependency, that... depended on Homebrew being installed. After installing Homebrew (twice) the install *.pkg seemed to leave out a lot.

Can you share the log file?
Which *.pkg do you mean?

@wjblume
Copy link
Author

wjblume commented Oct 10, 2023

The macOS ARM 3.3.2 files from here:
Following this, path both the the 3.3.2 and 3.2.3 macOS ARM's are still identical, actually 3.3.2
https://couchdb.apache.org/#download

The 3.3.2 macOS from here is broken. The 3.2.3 works.
https://neighbourhood.ie/download-apache-couchdb-mac

LOG ERROR:
[error] 2023-10-10T20:28:36.815736Z couchdb@localhost <0.265.0> -------- Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: 'dlopen(/Applications/Apache CouchDB.app/Contents/Resources/couchdbx-core/bin/../lib/crypto-5.2/priv/lib/crypto.so, 0x0002): Library not loaded: '/opt/homebrew/opt/openssl@3/lib/libcrypto.3.dylib'
Referenced from: '/Applications/Apache CouchDB.app/Contents/Resources/couchdbx-core/lib/crypto-5.2/priv/lib/crypto.so'

@big-r81
Copy link
Contributor

big-r81 commented Oct 11, 2023

Ok, it should work if you install OpenSSL from Homebrew…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants