pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: quangnt183 (@quangnt183) <noreply+quangnt183@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #789: Make error when installing on mac M1
Date: Fri, 28 Feb 2025 06:53:51 +0000
Message-ID: <gh-pgvector-pgvector-789-c2689877360@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-789@github.com>
References: <gh-pgvector-pgvector-789@github.com>

thank you Ankane, here is the logs:

make
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -Wno-cast-function-type-strict -O2  -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/usr/local/lib/postgresql@14  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -L/usr/local/opt/openssl@3/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/lz4/lib  -Wl,-dead_strip_dylibs   -bundle_loader /usr/local/Cellar/postgresql@14/14.17/bin/postgres
ld: warning: ignoring file '/usr/local/Cellar/postgresql@14/14.17/bin/postgres': found architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_AllocSetContextCreateInternal", referenced from:
      _InitBuildState in hnswbuild.o
      _hnswinsert in hnswinsert.o
      _hnswbeginscan in hnswscan.o
      _hnswbulkdelete in hnswvacuum.o
      _InitBuildState in ivfbuild.o
      _ivfflatinsert in ivfinsert.o
      _IvfflatKmeans in ivfkmeans.o
....
there are many logs here.
....

"_work_mem", referenced from:
      _hnswbeginscan in hnswscan.o
      _ivfflatbeginscan in ivfscan.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [vector.so] Error 1

view thread (6+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-789-c2689877360@github.com>
Permalink:  ../gh-pgvector-pgvector-789-c2689877360@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