'PostGIS built for PostgreSQL 13.0 cannot be loaded in PostgreSQL 14.2

I am running arch Linux, I installed postgresql and postgis to work with it in my Django project, but whenever i try to migrate my models i get this error

PostGIS built for PostgreSQL 13.0 cannot be loaded in PostgreSQL 14.2

can anyone tell me what's the problem here please



Solution 1:[1]

Ok i found the answer if anyone having the same problem like me , dowload the pkgbuild and postgis.changelog and build postgis using makepkg -si

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 th3plus