0

when I tried to start debugging the rust application in visual studio code in macOS 13.2 with Intel chip, the log output like this:

dyld[33431]: Library not loaded: @rpath/libpq.5.dylib
  Referenced from: <EE6EE5D6-9446-3BDE-BE77-77C6C7C5A252> /Users/dolphin/source/reddwarf/backend/texhub-server/target/debug/texhub-server
  Reason: tried: '/usr/local/lib/libpq.5.dylib' (no such file), '/usr/lib/libpq.5.dylib' (no such file, not in dyld cache)

then I tried to install the libpq5 like this:

$ brew install libpq5                                                                                                                                           ‹ruby-2.7.2›
Warning: No available formula with the name "libpq5". Did you mean libpq, libpqxx, libpgm, libpcl, libp11, libpst, libpsl, libpng, liboqs or liblqr?
==> Searching for similarly named formulae and casks...
==> Formulae
libpq ✔          libpqxx          libpgm           libpcl           libp11           libpst           libpsl           libpng ✔         liboqs           liblqr ✔

To install libpq ✔, run:
  brew install libpq ✔

the rust application did not used any component of PostgreSQL, why still shows this error? what should I do to fixed this issue?

Dolphin
  • 29,069
  • 61
  • 260
  • 539
  • My configuration [(omitted for brevity)](/help/minimal-reproducible-example) works without this error. – cafce25 Jul 30 '23 at 17:39

0 Answers0