[Qgis-user] Error: ERROR: could not access file "$libdir/postgis-2.4": No such file or directory - After installing QGIS 3.10 LTR

Marie Anna Baovola marieannabvl at gmail.com
Fri May 29 07:08:56 PDT 2020


Thank you for replying,

In fact, I can install the PostgreSQL/PostGIS, but I couldn't install QGIS.
I have those error while executing the "sudo apt-get install qgis qgis-
plugin-grass":

*******
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  liblwgeom-2.4-0 libprotobuf-c1
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gdal-bin gdal-data grass-core libcfitsio5 libgdal26 libgeotiff5
libjs-leaflet liblaszip8 libpdal-base9 libpdal-plugin-faux
  libpdal-plugin-icebridge libpdal-plugin-pgpointcloud
libpdal-plugin-python libpdal-plugin-sqlite libpdal-plugins libpdal-util9
libqca-qt5-2
  libqca-qt5-2-plugins libqgis-3d3.10.5 libqgis-analysis3.10.5
libqgis-app3.10.5 libqgis-core3.10.5 libqgis-customwidgets libqgis-gui3.10.5
  libqgis-native3.10.5 libqgis-server3.10.5 libqgisgrass7-3.10.5
libqgispython3.10.5 libqt53danimation5 libqt53dcore5 libqt53dextras5
  libqt53dinput5 libqt53dlogic5 libqt53dquickscene2d5 libqt53drender5
libqt5concurrent5 libqt5designercomponents5 libqt5keychain1
  libqt5quickwidgets5 libqt5serialport5 libqwt-qt5-6 libspatialindex4v5
libsqlite3-mod-spatialite python3-future python3-gdal python3-owslib
  python3-plotly python3-pyproj python3-pyqt5.qsci python3-pyqt5.qtsql
python3-qgis python3-qgis-common qgis-common qgis-plugin-grass-common
  qgis-provider-grass qgis-providers qgis-providers-common
qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin
  qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt5-assistant
qttools5-dev-tools
Suggested packages:
  libgdal-grass grass-dev grass-gui e00compr avce00 gpsbabel gpstrans
python3-rpy2 python3-termcolor geotiff-bin libgeotiff-epsg
  python-future-doc owslib-doc ipython3 python3-pandas python3-scipy
otb-qgis saga qt5-doc

*The following packages will be REMOVED:  libgdal20 postgis
postgresql-10-postgis-2.4 postgresql-9.5-postgis-2.4 python-gdal*
The following NEW packages will be installed:
  grass-core libcfitsio5 libgdal26 libgeotiff5 libjs-leaflet liblaszip8
libpdal-base9 libpdal-plugin-faux libpdal-plugin-icebridge
  libpdal-plugin-pgpointcloud libpdal-plugin-python libpdal-plugin-sqlite
libpdal-plugins libpdal-util9 libqca-qt5-2 libqca-qt5-2-plugins
  libqgis-3d3.10.5 libqgis-analysis3.10.5 libqgis-app3.10.5
libqgis-core3.10.5 libqgis-customwidgets libqgis-gui3.10.5
libqgis-native3.10.5
  libqgis-server3.10.5 libqgisgrass7-3.10.5 libqgispython3.10.5
libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5
libqt53dlogic5
  libqt53dquickscene2d5 libqt53drender5 libqt5concurrent5
libqt5designercomponents5 libqt5keychain1 libqt5quickwidgets5
libqt5serialport5
  libqwt-qt5-6 libspatialindex4v5 libsqlite3-mod-spatialite python3-future
python3-gdal python3-owslib python3-plotly python3-pyproj
  python3-pyqt5.qsci python3-pyqt5.qtsql python3-qgis python3-qgis-common
qgis qgis-common qgis-plugin-grass qgis-plugin-grass-common
  qgis-provider-grass qgis-providers qgis-providers-common
qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin
  qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt5-assistant
qttools5-dev-tools
The following packages will be upgraded:
  gdal-bin gdal-data
2 upgraded, 63 newly installed, 5 to remove and 456 not upgraded.
Need to get 120 MB of archives.
After this operation, 372 MB of additional disk space will be used.
Do you want to continue? [Y/n]

********

I use Ubuntu 18.04. I have GDAL 2.4.2, released 2019/06/28.

I've already tried all of the existed repository but no effect.

Thank you for your advice.

Best regards,

Baovola

On Sat, May 9, 2020 at 4:16 PM chris hermansen <clhermansen at gmail.com>
wrote:

> Marie Anne and list,
>
> On Fri, May 8, 2020, 23:53 Marie Anna Baovola <marieannabvl at gmail.com>
> wrote:
>
>> Hello everyone,
>>
>> Anyone could help me how to fix my error in my object, please?
>> I have installed the QGIS 3.10 and it seems that my PostgreSQL is
>> upgraded into 10.12. I use Ubuntu 18.04 bionic.
>>
>> I cannot reinstall the extension Postgis.
>>
>
>
> How did you install QGIS and PostgreSQL? With apt?
>
> You should be able to use the same tool to install postgis. For example
> something like
>
> sudo apt install postgis
>
> at the command line.
>
> If you used some other system tool to install QGIS and PostgreSQL, like
> synaptic, you can also use that to install postgis.
>
> Chris
>


-- 
BAOVOLA Marie Anna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200529/6f170a81/attachment.html>


More information about the Qgis-user mailing list