Quinton Miller
06/24/2024, 5:33 PMQuinton Miller
06/24/2024, 5:34 PM2024/06/20 13:58:26 [INFO] package libpact_ffi not found
2024/06/20 13:58:26 [INFO] downloading library from <https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v0.4.16/libpact_ffi-osx-aarch64-apple-darwin.dylib.gz> to /usr/local/lib/libpact_ffi.dylib
2024/06/20 13:58:26 [ERROR] Your Pact library installation is out of date and we were unable to download a newer one for you: failed to create /usr/local/lib; mkdir /usr/local/lib: permission denied
Quinton Miller
06/24/2024, 5:34 PMBas Dijkstra
06/24/2024, 5:42 PMYousaf Nabi (pactflow.io)
/usr/local/lib
which is in the users lookup path for dynamic libs, but is owned by root (so you require running pact-go -l DEBUG install
with sudo
alternatively you can configure where it downloads to with `PACT_GO_LIB_DOWNLOAD_PATH`but the only other alternative place is /tmp
https://github.com/pact-foundation/pact-go/blob/4c2079fee11a7f484b3a5ec23cea39e6d9283c50/internal/native/lib.go#L5-L6
which is user writable so you can avoid sudo if you need toYousaf Nabi (pactflow.io)
Quinton Miller
06/24/2024, 6:17 PM