pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #651: Unable to install pg_vector on Mac for PostgresSQL15 3+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #651: Unable to install pg_vector on Mac for PostgresSQL15 @ 2024-08-21 16:27 "sok82 (@sok82)" <noreply+sok82@github.com> 0 siblings, 0 replies; 3+ messages in thread From: sok82 (@sok82) @ 2024-08-21 16:27 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi, guys I'm struggling to install pgvector extension on my Mac for PostgreSQL 15 Default method proposed here - https://github.com/pgvector/pgvector?tab=readme-ov-file#linux-and-mac doest' seem to work for me When I'm trying to build it from sources ``` make CC='/usr/bin/clang' ``` I get ``` /usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /opt/anaconda3/include -fdebug-prefix-map=/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_10_q74d0xa/croot/postgresql-split_1706214368759/work=/usr/local/src/conda/postgresql-split-12.17 -fdebug-prefix-map=/opt/anaconda3=/usr/local/src/conda-prefix -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -bundle -o vector.so src/bitutils.o src/bitvec.o src/halfutils.o src/halfvec.o src/hnsw.o src/hnswbuild.o src/hnswinsert.o src/hnswscan.o src/hnswutils.o src/hnswvacuum.o src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/sparsevec.o src/vector.o -L/opt/anaconda3/lib -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib -L/opt/anaconda3/lib -Wl,-dead_strip_dylibs -bundle_loader /opt/anaconda3/bin/postgres ld: file not found: /opt/anaconda3/bin/postgres clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [vector.so] Error 1 ``` and zero ideas how to fix it. Why it tries to search for postgres in anaconda? ANy ideas about a fix? My postgres installation is stand-alone and has nothing to do with conda... Actually any method of installing pgvector would be great, building form source is just a default ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #651: Unable to install pg_vector on Mac for PostgresSQL15 @ 2024-08-21 16:45 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2024-08-21 16:45 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @sok82, check out the [installation notes](https://github.com/pgvector/pgvector?tab=readme-ov-file#postgres-location). ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #651: Unable to install pg_vector on Mac for PostgresSQL15 @ 2024-08-21 16:45 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2024-08-21 16:45 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-08-21 16:45 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-08-21 16:27 [pgvector/pgvector] issue #651: Unable to install pg_vector on Mac for PostgresSQL15 "sok82 (@sok82)" <noreply+sok82@github.com> 2024-08-21 16:45 ` "ankane (@ankane)" <noreply+ankane@github.com> 2024-08-21 16:45 ` "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