0

Using the source provided here: https://www.cybertec-postgresql.com/en/transparent-data-encryption-installation-guide/

I am attempting to cross compile this using Mingw on Fedora:

$ PYTHON=/usr/x86_64-w64-mingw32/bin/python3 ./configure --prefix=/home/noorez/postgresql-12.3_TDE_1.0/buildresult  --host=x86_64-w64-mingw32  --with-zlib --with-openssl --without-perl --with-python --with-ldap
$ make install

It appears to fail with a link error:

/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/../../../../x86_64-w64-mingw32/bin/ld: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libmingwex.a(lib64_libmingwex_a-dirent.o):(.text+0x2d6): undefined reference to `__strcpy_chk'

I'm not sure if I have missed not installing part of the Mingw toolchain but I'm not able to find the cause of this link error

  • Does this answer your question? [What is an undefined reference/unresolved external symbol error and how do I fix it?](https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix) – Ken White Nov 03 '21 at 22:07

0 Answers0