could not load library "/usr/pgsql-16/lib/vector.so"
Problem
Hi My project was running smoothly, but suddenly it encountered a problem and gives this error: could not load library "/usr/pgsql-16/lib/vector.so" What's the problem, and how can I solve it? I also Reinstall vector... => sudo dnf remove pgvector_16 => sudo dnf install pgvector_16
Error Output
error: could not load library "/usr/pgsql-16/lib/vector.so"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: could not load library "/usr/pgsql-16/lib/vector.so"
Hi all, thanks for reporting. What version of GCC are you seeing the error with? We may need to bump dispatching to GCC 8.2+ or 9+ (possibly due to this). For now, you can disable dispatching when compiling with: [code block] Relevant code
Trust Score
2 verifications
- 1
Hi all, thanks for reporting. What version of GCC are you seeing the error with?
Hi all, thanks for reporting. What version of GCC are you seeing the error with? We may need to bump dispatching to GCC 8.2+ or 9+ (possibly due to this).
- 2
For now, you can disable dispatching when compiling with:
For now, you can disable dispatching when compiling with:
Validation
Resolved in pgvector/pgvector GitHub issue #538. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep