pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData 6+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-08 09:50 "xiaokai-wang (@xiaokai-wang)" <noreply+xiaokai-wang@github.com> 0 siblings, 0 replies; 6+ messages in thread From: xiaokai-wang (@xiaokai-wang) @ 2025-04-08 09:50 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi, I'm encountering an error when trying to use pgvector version 0.7.4 with PostgreSQL 12.12 on Ubuntu 22.04. After compiling and installing the extension, running the following SQL: ``` CREATE EXTENSION vector; ``` Results in this error: ``` ERROR: could not load library "/usr/local/gpdb/lib/postgresql/vector.so": /usr/local/gpdb/lib/postgresql/vector.so: undefined symbol: _Z12l2_normalizeP24FunctionCallInfoBaseData ``` **Environment:** - **OS:** Ubuntu 22.04 - **PostgreSQL:** 12.12 - **GCC/G++:** 12.3.0 - **pgvector:** 0.7.4 (built from source) Is this a compatibility issue between pgvector 0.7.4 and PostgreSQL 12.12? Or could it be related to the build environment (e.g. compiler version or linking flags)? Any help would be appreciated! Thanks 🙏 ^ permalink raw [nested|flat] 6+ messages in thread
* Re: [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-08 15:04 "ankane (@ankane)" <noreply+ankane@github.com> 4 siblings, 0 replies; 6+ messages in thread From: ankane (@ankane) @ 2025-04-08 15:04 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @xiaokai-wang, it looks like you're trying to load it in a Greenplum instance, which isn't supported. ^ permalink raw [nested|flat] 6+ messages in thread
* Re: [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-08 15:04 "ankane (@ankane)" <noreply+ankane@github.com> 4 siblings, 0 replies; 6+ messages in thread From: ankane (@ankane) @ 2025-04-08 15:04 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 6+ messages in thread
* Re: [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-08 15:31 "ankane (@ankane)" <noreply+ankane@github.com> 4 siblings, 0 replies; 6+ messages in thread From: ankane (@ankane) @ 2025-04-08 15:31 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> That being said, there is a report of getting it working with GPDB in #635. The `l2_normalize` function was added in 0.7.0, so the error seems to indicate `vector.so` was created from a previous version of pgvector. ^ permalink raw [nested|flat] 6+ messages in thread
* Re: [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-09 09:32 "xiaokai-wang (@xiaokai-wang)" <noreply+xiaokai-wang@github.com> 4 siblings, 0 replies; 6+ messages in thread From: xiaokai-wang (@xiaokai-wang) @ 2025-04-09 09:32 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> FYI: it's worked GPDB 7 with pgvector--0.6.2. I noticed that pgvector 0.7.0 includes some new features. Will there be plans to support compatibility with Greenplum Database? Thank you. @ankane ^ permalink raw [nested|flat] 6+ messages in thread
* Re: [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData @ 2025-04-09 18:43 "ankane (@ankane)" <noreply+ankane@github.com> 4 siblings, 0 replies; 6+ messages in thread From: ankane (@ankane) @ 2025-04-09 18:43 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> There are no plans to support forks, but I suspect 0.7.4 works fine with GPDB 7 (based on #635). Please use other resources for additional help with this. ^ permalink raw [nested|flat] 6+ messages in thread
end of thread, other threads:[~2025-04-09 18:43 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-04-08 09:50 [pgvector/pgvector] issue #817: Error loading pgvector-0.7.4 with PostgreSQL 12.12: undefined symbol _Z12l2_normalizeP24FunctionCallInfoBaseData "xiaokai-wang (@xiaokai-wang)" <noreply+xiaokai-wang@github.com> 2025-04-08 15:04 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-04-08 15:04 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-04-08 15:31 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-04-09 09:32 ` "xiaokai-wang (@xiaokai-wang)" <noreply+xiaokai-wang@github.com> 2025-04-09 18:43 ` "ankane (@ankane)" <noreply+ankane@github.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox