"Unable to load PROJ.4 library (libproj.so)" while transforming coordinate systems wi
I try to reproject some shapefiles with ogr2ogr. However, I always get the following error:
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of OGRCoordinateTransformation failed. Failed to create coordinate transformation between the following coordinate systems. This may be because they are not transformable, or because projection services (PROJ.4 DLL/.so) could not be loaded. I tested this with various transformation, including such basic combinations as from WGS84 (EPSG:4326) to UTM (EPSG:3857), and this error occurs all the time.
The problem might be caused by the fact that although I have GDAL with my QGIS (2.10), I mistakenly installed it once more (from source, doing it as this answer suggested). After facing this problem few times, I tried to uninstall the new GDAL instance (sudo apt-get remove build-essential python-all-dev and sudo apt-get remove gdal-bin - not sure whether it is cleanly removed or not).
In /USR/LIB/ I have libproj.so.0 and libproj.so.0.7.0, not libproj.so. I can't see it even with hidden files shown. However, when I try ln -s libproj.so.0.7.0 libproj.so (or the same with sudo), it complains that libproj.so already exists.
I'm on Ubuntu Trusty (14.04).
أكثر...
I try to reproject some shapefiles with ogr2ogr. However, I always get the following error:
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of OGRCoordinateTransformation failed. Failed to create coordinate transformation between the following coordinate systems. This may be because they are not transformable, or because projection services (PROJ.4 DLL/.so) could not be loaded. I tested this with various transformation, including such basic combinations as from WGS84 (EPSG:4326) to UTM (EPSG:3857), and this error occurs all the time.
The problem might be caused by the fact that although I have GDAL with my QGIS (2.10), I mistakenly installed it once more (from source, doing it as this answer suggested). After facing this problem few times, I tried to uninstall the new GDAL instance (sudo apt-get remove build-essential python-all-dev and sudo apt-get remove gdal-bin - not sure whether it is cleanly removed or not).
In /USR/LIB/ I have libproj.so.0 and libproj.so.0.7.0, not libproj.so. I can't see it even with hidden files shown. However, when I try ln -s libproj.so.0.7.0 libproj.so (or the same with sudo), it complains that libproj.so already exists.
I'm on Ubuntu Trusty (14.04).
أكثر...