Closed kmf closed 3 years ago
I came here to post this too. I get the following output :
`¥ Johns-MBP.hsd1.or.comcast.net {/Users/johnmccrae} curl dyld: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib Referenced from: /opt/chef-workstation/embedded/bin/curl Reason: no suitable image found. Did find: /usr/local/opt/zstd/lib/libzstd.1.dylib: code signature in (/usr/local/opt/zstd/lib/libzstd.1.dylib) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs /usr/local/opt/zstd/lib/libzstd.1.dylib: stat() failed with errno=1
¥ Johns-MBP.hsd1.or.comcast.net {/Users/johnmccrae} chef --version Chef Workstation version: 21.2.303 Chef Infra Client version: 16.10.17 Chef InSpec version: 4.26.13 Chef CLI version: 3.1.1 Chef Habitat version: 1.6.181 Test Kitchen version: 2.10.0 Cookstyle version: 7.8.3`
This is fixed by disabling libzstd in our curl compilation. Thanks for the heads up @kmf
What worked for me was to downgrade to 21.2.278 or Install the development version 21.3.332 (Sticking with this).
[EDIT] Looks like the fix is to not install chef-workstation
via Brew, but instead using Progress Chef’s DMGs
I see a similar error, except it’s with commands provided by Chef Workstation itself, on Chef Workstation v24.8.1068
```bash
♠ chef -v
Chef Workstation version: 24.8.1068
Chef InSpec version: 5.22.55
Chef CLI version: 5.6.14
Chef Habitat version: 1.6.1041
Test Kitchen version: 3.6.0
Cookstyle version: 7.32.8
Chef Infra Client version: 18.5.0
♠ chef exec berks install
After my installation of chef-workstation (via brew) my
curl
in my$PATH
got overridden fromto this
using macOS 11.2.3