couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

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

Open wjblume opened this issue 2 years ago • 7 comments

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

wjblume avatar Oct 05 '23 05:10 wjblume

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".

nickva avatar Oct 05 '23 05:10 nickva

Hi,

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

big-r81 avatar Oct 05 '23 06:10 big-r81

@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 avatar Oct 09 '23 03:10 wjblume

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

This is the macOS ARM versions.

wjblume avatar Oct 09 '23 03:10 wjblume

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?

big-r81 avatar Oct 09 '23 06:10 big-r81

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'

wjblume avatar Oct 10 '23 20:10 wjblume

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

big-r81 avatar Oct 11 '23 15:10 big-r81