You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a new 1.1.3 release it's required to rename libduckdb.so library to libduckdb.1.1.3.so to have compilation succeeded.
# Rename library file with version number
mv "libduckdb.${LIB_EXT}""libduckdb.${DUCKDB_VERSION}.${LIB_EXT}"
But in the same time, during runtime the compiled duckdb_fdw.so still expects the duckdb library to be named as libduckdb.so and not libduckdb.1.1.3.so. Otherwise, it fails with
psql:/docker-entrypoint-initdb.d/fdw_setup.sql:1: ERROR: could not load library "/usr/lib/postgresql/17/lib/duckdb_fdw.so": libduckdb.so: cannot open shared object file: No such file or directory
Is it expected behavior? Use libduckdb.1.1.3.so for the compilation but libduckdb.so during runtime?
The text was updated successfully, but these errors were encountered:
AmebaBrain
changed the title
liduckdb.so name is different for compilation and runtime
libduckdb.so name is different for compilation and runtime
Dec 22, 2024
but for this to work you also have to have physically file libduckdb.1.3.3.so. otherwise you will get compilation error. and once compilation is done, you will have to have original libduckdb.so file back again. otherwise, compiled duckdb_fdw.so won't work
With a new
1.1.3
release it's required to renamelibduckdb.so
library tolibduckdb.1.1.3.so
to have compilation succeeded.But in the same time, during runtime the compiled
duckdb_fdw.so
still expects the duckdb library to be named aslibduckdb.so
and notlibduckdb.1.1.3.so
. Otherwise, it fails withpsql:/docker-entrypoint-initdb.d/fdw_setup.sql:1: ERROR: could not load library "/usr/lib/postgresql/17/lib/duckdb_fdw.so": libduckdb.so: cannot open shared object file: No such file or directory
Is it expected behavior? Use
libduckdb.1.1.3.so
for the compilation butlibduckdb.so
during runtime?The text was updated successfully, but these errors were encountered: