I'm trying to install PostGIS extension on arch Linux. here tried so far as archlinux wiki about PostGIS :
sudo pacman -S postgresql-libs postgis
sudo systemctl restart postgres.service
and go to psql -d "dbName"
so for verifying the extention exists in postgres :
-- verify available extensions
SELECT name, default_version,installed_version
FROM pg_available_extensions WHERE name LIKE 'postgis%' ;
it shows the tables . but when im trying to create extentions with these commands:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
CREATE EXTENSION fuzzystrmatch;
CREATE EXTENSION postgis_tiger_geocoder;
I get this error :
ERROR: could not load library "/usr/lib/postgresql/postgis-2.5.so": libproj.so.15: cannot open shared object file: No such file or directory