Running python3 manage.py migrate in django
django.db.utils.InternalError: could not load library "/usr/lib/postgresql/9.5/lib/postgis-2.2.so": /usr/lib/liblwgeom-2.2.so.5: undefined symbol: GEOSClipByRect
This error occurs.
I did my best to google it, and there were one or two articles related to this problem.
https://trac.osgeo.org/postgis/ticket/3423
At first glance, 9.5 units of
that appear when you install apt-get on Ubuntu Linux, which is currently using the postgresql versionI think I can use 9.4 instead of the latest version
So if there is no other solution, can I know how to download the 9.4 version? I'm curious.
postgresql django postgis
https://www.postgresql.org/download/linux/ubuntu/
According to the official website,
apt-get install postgresql-9.4
I think this is how you do it
If the installation method above is not possible, use the app repository below
I think you can put the command that fits the version
© 2024 OneMinuteCode. All rights reserved.