Re: Configure problem when cross-compiling PostgreSQL 16.1

2023-12-07 Thread Tom Lane
Dominik Michael Rauh writes: > Apparently when cross-compiling the linker is automatically assumed to not > understand "--export-dynamic", leading to aforementioned problem on my end. > ... > There is also at least one additional linker flag "--as-needed" that is not > being used when

Configure problem when cross-compiling PostgreSQL 16.1

2023-12-07 Thread Dominik Michael Rauh
Hi all, I was trying to cross-compile PostgreSQL 16.1 using Buildroot which worked fine until I executed "initdb" on my target device, where I faced the following error: 2023-12-06 07:10:18.568 UTC [31] FATAL: could not load library "/usr/lib/postgresql/dict_snowball.so":