Ah, minetest fails to find libpq due to changes in the devel packages of PostgreSQL 11. I will soon submit a fix.