Replies: 1 comment 3 replies
-
The library is found at compile time. It is unfortunate that brew changes its position, but it's their choice. You could report them the problem. Maybe a symlink in a standard path that doesn't change could be a good idea. AFAICS you mush reinstall psycopg2 to find the libpq in the new location. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading to Postgres 15 using Homebrew I can't get psycopg2 to work anymore (I'm avoiding switching to psycopg3 since it gives me some errors with datatypemismatch with str/uuid, so I imagine it might still be early to switch).
What I'm seeing after having upgraded is:
This file doesn't exist anymore, even though
/usr/local/opt/postgresql@15/lib/libpq.5.dylib
does exist, I can't seem to make it actually find it. I've been trying to clean up references of Postgres@14 from my machine, I though I cleaned everything, but obviously I didn't, but I don't know what is missing.Tried removing PSQL using Homebrew and reinstalling it multiple times, fixed the
CPPFLAGS
andLDFLAGS
, no traces of psql@14 on my path, installed libpq, unlinked it and --force linked with psql@15, restart pc, anyways... Have tried everything I could think of to try to make this work. Any suggestions on troubleshooting this? I've seen quite a few discussions, but apart from the link, reinstall psycopg2, and a couple of other things, don't seem to solve the issue I'm experiencing. Any suggestions are welcome!Beta Was this translation helpful? Give feedback.
All reactions