0

I have a Docker container running PostgreSQL 12, and on container start-up I had a symbol look-up error. Starting the container again failed, but rebooting the host did lead to recovery.

I didn't have much success googling the symbol error, but I've included the logs below - the first section just demonstrates the version and the OS.

2020-09-13 12:19:37.337 UTC [1] LOG:  starting PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 8.3.0-6) 8.3.0, 32-bit
2020-09-13 12:19:37.352 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2020-09-13 12:19:37.352 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2020-09-13 12:19:37.375 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"

PostgreSQL Database directory appears to contain a database; Skipping initialization

postgres: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libxml2.so.2: undefined symbol: ing, version LIBXML2_2.4.30

Yes, the hardware is a Raspberry PI, so not suitable for production databases.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.