apache / couchdb

Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
https://couchdb.apache.org/
Apache License 2.0
6.24k stars 1.03k forks source link

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

Open wjblume opened 1 year ago

wjblume commented 1 year ago

Description

Steps to Reproduce

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

Expected Behaviour

Your Environment

Additional Context

nickva commented 1 year ago

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 commented 1 year ago

Hi,

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

wjblume commented 1 year ago

@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 commented 1 year ago

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

This is the macOS ARM versions.

big-r81 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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