We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUST_LOG="off,sui_node=info" cargo run --bin sui-test-validator
Compiling sui-test-validator v0.0.0 (/Users/aravind/sui/crates/sui-test-validator) error: linking with cc failed: exit status: 1
cc
= note: ld: library not found for -lpq clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile sui-test-validator (bin "sui-test-validator") due to previous error
sui-test-validator
Unable to paste full error as it is greater than 65536 characters. Pls find a snippet of trace below -
= note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/aravind/.rustup/toolchains/1.75-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/Users/aravind/.pyenv/shims:/Users/aravind/.gvm/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/aravind/.local/share/solana/install/active_release/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/aravind/.cargo/bin:/Users/aravind/go/bin:/Users/aravind/Library/Python/3.11/bin:/Users/aravind/bitcoin-24.0/bin:/Users/aravind/bitcoin-22.1/bin:/Users/aravind/bitcoin-25.0/bin" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "arm64" "/var/folders/gq/1ftrw9cn6675lrrtvknxs4280000gn/T/rustc7MAotv/symbols.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.11xukhy9i6xi4l3q.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.12mkwr9qg72n7zpd.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.13h7nvxdyxpqizsp.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.13lbbqdc5tgwlp7w.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.13ork5r6kak4p15k.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.13z1rhi86m5o4bzf.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.15zansvy5usfxywp.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.162oszfm69llyxfi.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.165nfuwyf0zm6v0f.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.19zvmajcuswacys2.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1b20e9dkrxli23xu.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1b8abst2zm9qiwqq.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1bc4bijcxyrs6r2c.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1cmsxz7vyuxberso.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1e0rgnckdvqvs3wd.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1e2nl8zh3up5zp40.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1eetldnkwg7stezu.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1exi7vo8n2hv0sj8.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1g4dqyvkzppsya7a.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1gnb89aiic3nfl44.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1i0n48grz3qv5m7a.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1ietj4hf4o98m7k0.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1k435ib8jazt2yx0.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1lp0b9xliagchybh.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1m15g0ekxrdm857q.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1m2j1a2dc8y2utoy.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1m8nx59u64alm50d.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1n71x6d0kll3uatf.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1ntl71oz6lysdfkd.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1o3475ulo34j0lpz.rcgu.o" "/Users/aravind/sui/target/debug/deps/sui_test_validator-ae6f2d6b90999227.1o7wycs465zjsppk.rcgu.o"
rustup show
The text was updated successfully, but these errors were encountered:
Based on the error message, might be related to a missing library:
try:
brew install libpq brew link --force libpq
brew install libpq
brew link --force libpq
Sorry, something went wrong.
@hyd628 no luck, I ran build command after executing the above commans. Still no luck.
@aravinddojima What do you get when you run: ls -l /opt/homebrew/opt | grep "postgres" and ls -l /opt/homebrew/opt | grep "libp"
ls -l /opt/homebrew/opt | grep "postgres"
ls -l /opt/homebrew/opt | grep "libp"
After installing libpq, you might need to install postgresql@16 and then export some directories to your path.
libpq
postgresql@16
brew install postgresql@16 export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH" export PATH="/opt/homebrew/opt/bin/:$PATH" export LDFLAGS="-L/opt/homebrew/opt/postgresql@16/lib" export CPPFLAGS="-I/opt/homebrew/opt/postgresql@16/include"
stefan-mysten
No branches or pull requests
Steps to Reproduce Issue
RUST_LOG="off,sui_node=info" cargo run --bin sui-test-validator
Compilation error
Unable to paste full error as it is greater than 65536 characters.
Pls find a snippet of trace below -
System Information
rustup show
)The text was updated successfully, but these errors were encountered: