pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: andreiramani (@andreiramani) <noreply+andreiramani@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #669: Fails to nmake on PostgreSQL 17 RC1 [Windows]
Date: Wed, 01 Jan 2025 12:36:28 +0000
Message-ID: <gh-pgvector-pgvector-669-c2566991336@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-669@github.com>
References: <gh-pgvector-pgvector-669@github.com>

> Tried installing pgvector on my new PostgreSQL 17 RC1.
> 
> It fails to install on Windows when doing nmake:
> 
> ```
> Creating library vector.lib and object vector.exp
> halfvec.obj : error LNK2019: unresolved external symbol float_to_shortest_decimal_bufn referenced in function halfvec_out
> sparsevec.obj : error LNK2001: unresolved external symbol float_to_shortest_decimal_bufn
> vector.obj : error LNK2001: unresolved external symbol float_to_shortest_decimal_bufn
> halfvec.obj : error LNK2019: unresolved external symbol float_to_shortest_decimal_buf referenced in function Float4ToHalf
> vector.dll : fatal error LNK1120: 2 unresolved externals
> NMAKE : fatal error U1077: 'cl /nologo /I"C:\PostgreSQL\include\server\port\win32_msvc" /I"C:\PostgreSQL\include\server\port\win32" /I"C:\PostgreSQL\include\server" /I"C:\PostgreSQL\include"   /O2 /fp:fast src\bitutils.obj src\bitvec.obj src\halfutils.obj src\halfvec.obj src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\sparsevec.obj src\vector.obj "C:\PostgreSQL\lib\postgres.lib" /link /DLL /OUT:vector.dll' : return code '0x2'
> Stop.
> ```
> 
> Works fine using PostgreSQL 16

Issue still exist, at least in our PostgreSQL 17.2.3 (using Win 11 x64 24H2, OS build 26100.2605)

view thread (22+ messages)  latest in thread

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