Environment Configuration FAQ

Environment Configuration FAQ


This is work in progress. Mechanisms and values are susceptible to change.

About Sui Binaries

libpq.5.dylib (no such file)

If you downloaded the sui-test-validator binary via the official release, you will most likely encounter the following problem.

dyld[72001]: Library not loaded: /opt/homebrew/opt/postgresql@14/lib/postgresql@14/libpq.5.dylib
  Referenced from: <CCD1A8DC-F608-3EC8-B932-77D43EAE4872> /Users/admin/.sui/bin/sui-test-validator
  Reason: tried: '/opt/homebrew/opt/postgresql@14/lib/postgresql@14/libpq.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/postgresql@14/lib/postgresql@14/libpq.5.dylib' (no such file), '/opt/homebrew/opt/postgresql@14/lib/postgresql@14/libpq.5.dylib' (no such file), '/usr/local/lib/libpq.5.dylib' (no such file), '/usr/lib/libpq.5.dylib' (no such file, not in dyld cache)
[1]    72001 abort      sui-test-validator

Solution more information (opens in a new tab)

# please check your homebrew path and postgresql@14 path.
sudo ln -s /opt/homebrew/opt/postgresql@14/lib/postgresql@14/libpq.5.dylib /usr/local/lib/libpq.5.dylib