alitrack / duckdb_fdw

DuckDB Foreign Data Wrapper for PostgreSQL
MIT License
272 stars 18 forks source link

Undefined symbol linking DuckDB 0.9.2 #25

Closed ahuarte47 closed 6 months ago

ahuarte47 commented 6 months ago

I am getting undefined symbol when running in Ubuntu 22.04 the DuckDB FDW linked with DuckDB v0.9.2. It runs properly with DuckDB v0.8.1.

Error: could not load library "/duckdb_fdw.so": /duckdb_fdw.so: undefined symbol: _ZN6duckdb13KeywordHelper9IsKeywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

Same issue in PostgreSQL 15.5 or 16.1.

Please, do you know what is the problem?

alitrack commented 6 months ago

try this docker and let me know if you have any question.

ahuarte47 commented 6 months ago

Thanks @alitrack, but using this image I am getting same error.

ERROR: could not load library "/usr/lib/postgresql/16/lib/duckdb_fdw.so": /usr/lib/postgresql/16/lib/duckdb_fdw.so: undefined symbol: _ZN6duckdb13KeywordHelper9IsKeywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

alitrack commented 6 months ago

updated Makefile, and try again.

ahuarte47 commented 6 months ago

Thanks!!! it works now!