[GeoNode-users] Geonode 4.1.2 on RHEL 9 (Almalinux 9)
Giovanni Allegri
giovanni.allegri at geosolutionsgroup.com
Thu Aug 31 02:33:57 PDT 2023
Dear Orestes,
unfortunately, the documentation for CentOS/RedHat is a bit old and not
well maintained. For this reason, it was removed from the master version of
the documentation.
Any chance to set it up with Docker?
Giovanni
On Thu, Aug 31, 2023 at 1:38 AM Orestes Sanchez <orestes at estotienearreglo.es>
wrote:
> Hi all,
>
> We are a local association integrated by volunteers, dedicated to the
> history of Poblenou, a former industrial neighborough in Barcelona, Spain.
> We started to evaluate Geonode and succesfully set it up for Geonode 3.3.x
> (see it at https://geonode.arxiuhistoricpoblenou.cat). As part of my
> collaboration, I am in charge of the server infrastructure. I started to
> prepare the migration to 4.1.x and I created a new server to test it.
>
> I have a server setup with Almalinux 9. I added specific repos for
> Postgres and EPEL. I was following the Advanced installation guide on the
> 4.1.x documentation site. I followed the documentation for CentOS 7 with
> some tuning.
>
> I managed to install tomcat 9 and geoserver 2.23 and I started geoserver
> successfully. I installed gdal-java, but when I start the geoserver with
> gdal enabled, on stopping tomcat, it produces a segmentation dump. So I
> finally discarded the configuration for gdal on geoserver 2.23.
>
> On the postgres repository (pgdg-common) there are different versions of
> postgis and gdal libraries. I installed the lastest postgis33_13 and gdal35.
>
> [root at geonode lib]# dnf repository-packages pgdg-common list installed
> Installed Packages
> *SFCGAL.x86_64 * 1.4.1-11.rhel9
> @pgdg-common
> *SFCGAL-libs.x86_64 * 1.4.1-11.rhel9
> @pgdg-common
> *gdal35.x86_64 * 3.5.3-6PGDG.rhel9
> @pgdg-common
> *gdal35-devel.x86_64 * 3.5.3-6PGDG.rhel9
> @pgdg-common
> *gdal35-java.x86_64 * 3.5.3-6PGDG.rhel9
> @pgdg-common
> *gdal35-libs.x86_64 * 3.5.3-6PGDG.rhel9
> @pgdg-common
> *geos311.x86_64 * 3.11.2-1.rhel9
> @pgdg-common
> *geos312.x86_64 * 3.12.0-1PGDG.rhel9
> @pgdg-common
> *gpsbabel.x86_64 * 1.8.0-1.rhel9
> @pgdg-common
> *libgeotiff16.x86_64 * 1.6.0-6.rhel9
> @pgdg-common
> *libgeotiff16-devel.x86_64 * 1.6.0-6.rhel9
> @pgdg-common
> *libpq5.x86_64 * 15.4-42PGDG.rhel9
> @pgdg-common
> *librttopo.x86_64 * 1.1.0-2.rhel9
> @pgdg-common
> *libspatialite50.x86_64 * 5.1.0-1PGDG.rhel9
> @pgdg-common
> *libspatialite50-devel.x86_64 * 5.1.0-1PGDG.rhel9
> @pgdg-common
> *ogdi41.x86_64 * 4.1.0-3.rhel9
> @pgdg-common
> *proj81.x86_64 * 8.1.1-1.rhel9
> @pgdg-common
> *proj90.x86_64 * 9.0.1-1.rhel9
> @pgdg-common
> *proj92.x86_64 * 9.2.1-1PGDG.rhel9
> @pgdg-common
>
> What puzzles me most is the fact that different versions of the same
> library are required for the installation of packages, for example, geos311
> and geos312, as well as different proj version (81, 90, 92).
>
> After installing python dependencies (pip install -e .) and pygdal (3.5)
> successfully, I tried to run `python manage.py` to test everything was
> right, but the command failed with a segmentation fault. I used valgrind to
> detect the memory leak and the problem is that some memory is created using
> libproj.so.25 (proj92) and then wrongly accessed on libproj.so.22 (proj81),
> probably due to data type incompatibility. Here it is the trace:
>
> (geonode-4.1.x-py39) [geonode at geonode geonode-src]$ valgrind python
> manage.py
> ==1920513== Memcheck, a memory error detector
> ==1920513== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
> ==1920513== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright
> info
> ==1920513== Command: python manage.py
> ==1920513==
> ==1920749== Warning: invalid file descriptor 1024 in syscall close()
> ==1920749== Warning: invalid file descriptor 1025 in syscall close()
> ==1920749== Warning: invalid file descriptor 1026 in syscall close()
> ==1920749== Warning: invalid file descriptor 1027 in syscall close()
> ==1920749== Use --log-fd=<number> to select an alternative log fd.
> ==1920749== Warning: invalid file descriptor 1028 in syscall close()
> ==1920749== Warning: invalid file descriptor 1029 in syscall close()
> ==1921026== Warning: invalid file descriptor 1024 in syscall close()
> ==1921026== Warning: invalid file descriptor 1025 in syscall close()
> ==1921026== Warning: invalid file descriptor 1026 in syscall close()
> ==1921026== Warning: invalid file descriptor 1027 in syscall close()
> ==1921026== Use --log-fd=<number> to select an alternative log fd.
> ==1921026== Warning: invalid file descriptor 1028 in syscall close()
> ==1921026== Warning: invalid file descriptor 1029 in syscall close()
>
> Type 'manage.py help <subcommand>' for help on a specific subcommand.
>
> Available subcommands:
>
> [account]
> account_unsetmultipleprimaryemails
>
> [auth]
> changepassword
> createsuperuser
>
> [avatar]
> rebuild_avatars
>
> [base]
> delete_resources
> dump_thesaurus
> fixoauthuri
> fixsitename
> helpers
> load_thesaurus
> migrate_baseurl
> migrate_notifications
> set_all_datasets_alternate
> set_all_datasets_metadata
> squashmigrations
>
> [br]
> backup
> create_tile_layers
> restore
>
> [contenttypes]
> remove_stale_contenttypes
>
> [createlayer]
> createvectorlayer
>
> [django]
> check
> compilemessages
> createcachetable
> dbshell
> diffsettings
> dumpdata
> flush
> makemessages
> makemigrations
> migrate
> sendtestemail
> shell
> showmigrations
> sqlflush
> sqlmigrate
> sqlsequencereset
> startapp
> startproject
> test
> testserver
>
> [documents]
> delete_orphaned_files
> sync_geonode_documents
>
> [drf_spectacular]
> spectacular
>
> [geoserver]
> find_geoserver_broken_layers
> importlayers
> set_all_datasets_public
> set_default_gridsets
> sync_geonode_datasets
> sync_geonode_maps
> sync_security_rules
> updatelayers
>
> [gis]
> inspectdb
> ogrinspect
>
> [guardian]
> clean_orphan_obj_perms
>
> [invitations]
> clear_expired_invitations
>
> [layers]
> delete_orphaned_layers
> layer_notice_types
> set_layers_permissions
>
> [management_commands_http]
> ping_mngmt_commands_http
>
> [maps]
> changemaplayertitle
> remove_broken_layers
> updatemaplayerip
>
> [messaging]
> purgemessaging
> runmessaging
>
> [metadataxsl]
> addmissinglinks
>
> [modeltranslation]
> loaddata
> sync_translation_fields
> update_translation_fields
>
> [monitoring]
> aggregate_metrics
> collect_metrics
> render_metrics
> updategeoip
>
> [notifications]
> emit_notices
>
> [oauth2_provider]
> cleartokens
> createapplication
>
> [people]
> setupsociallogins
>
> [rest_framework]
> generateschema
>
> [runserver_nostatic]
> runserver
>
> [services]
> upgradeservices
>
> [sessions]
> clearsessions
>
> [sitemaps]
> ping_google
>
> [staticfiles]
> collectstatic
> findstatic
>
> [tastypie]
> backfill_api_keys
> ==1920513== Invalid free() / delete / delete[] / realloc()
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x769a4f0 is 0 bytes inside a block of size 17 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD6C19C6: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45B653: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x11166C0D: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x53444b8 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5273BE:
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> const&,
> std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::EllipsoidalCS> >
> const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD527821:
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap
> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> > const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::EllipsoidalCS> >
> const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45B611: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x11166B5D: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x51dbfe8 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD51DD72:
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> const&,
> std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS> > const&)
> (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD51E001:
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap
> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> > const&, dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS>
> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45B259: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x1116694D: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x6f97b38 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD552BBB:
> osgeo::proj::datum::GeodeticReferenceFrame::create(osgeo::proj::util::PropertyMap
> const&, dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::Ellipsoid>
> > const&, osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian> >
> const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45B1C8: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x1116682D: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x6ffbce8 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5545C8:
> osgeo::proj::datum::Ellipsoid::createFlattenedSphere(osgeo::proj::util::PropertyMap
> const&, osgeo::proj::common::Length const&, osgeo::proj::common::Scale
> const&, std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45B022: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x11166AAD: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x50d9d58 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD552D55:
> osgeo::proj::datum::PrimeMeridian::create(osgeo::proj::util::PropertyMap
> const&, osgeo::proj::common::Angle const&) (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45AE71: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 8
> ==1920513== at 0xD506BB5:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x52a51a0 is 80 bytes inside a block of size 112
> free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BF7:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5068B3:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 8
> ==1920513== at 0xD506BC9:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x52a5180 is 48 bytes inside a block of size 112
> free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BF7:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5068B3:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 8
> ==1920513== at 0xD506BDD:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x52a5150 is 0 bytes inside a block of size 112 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BF7:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5068B3:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid free() / delete / delete[] / realloc()
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BEF:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x52a5200 is 0 bytes inside a block of size 27 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BEF:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD6C1E21: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD5068D2:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid free() / delete / delete[] / realloc()
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BF7:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x52a5150 is 0 bytes inside a block of size 112 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0xD506BF7:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD5068B3:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 8
> ==1920513== at 0xD4FC12C: osgeo::proj::util::BaseObject::~BaseObject()
> (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x4fbd2c8 is 8 bytes inside a block of size 16 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD50688E:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD459C20: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513== Invalid read of size 4
> ==1920513== at 0x111669FD: ??? (in /usr/proj81/lib/libproj.so.22.1.1)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Address 0x7672b88 is 8 bytes inside a block of size 24 free'd
> ==1920513== at 0x4847669: operator delete(void*)
> (vg_replace_malloc.c:923)
> ==1920513== by 0x4C194B4: __run_exit_handlers (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C1962F: exit (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4C01EB6: (below main) (in /usr/lib64/libc.so.6)
> ==1920513== Block was alloc'd at
> ==1920513== at 0x4844FF5: operator new(unsigned long)
> (vg_replace_malloc.c:422)
> ==1920513== by 0xD50A82E:
> osgeo::proj::metadata::Extent::create(osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&,
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent>
> >,
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent>
> > > > const&,
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::VerticalExtent>
> >,
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::VerticalExtent>
> > > > const&,
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent>
> >,
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent>
> > > > const&) (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD50B50D:
> osgeo::proj::metadata::Extent::createFromBBOX(double, double, double,
> double, osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&) (in
> /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD4581A3: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0xD45C665: ??? (in /usr/proj92/lib64/libproj.so.25.9.2.1)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:70)
> ==1920513== by 0x400A1AD: call_init (dl-init.c:26)
> ==1920513== by 0x400A29B: _dl_init (dl-init.c:117)
> ==1920513== by 0x4D57F64: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x4010CBD: dl_open_worker (dl-open.c:803)
> ==1920513== by 0x4D57F07: _dl_catch_exception (in /usr/lib64/libc.so.6)
> ==1920513== by 0x401104E: _dl_open (dl-open.c:879)
> ==1920513== by 0x4C5D86B: dlopen_doit (in /usr/lib64/libc.so.6)
> ==1920513==
> ==1920513==
> ==1920513== HEAP SUMMARY:
> ==1920513== in use at exit: 33,404,131 bytes in 289,625 blocks
> ==1920513== total heap usage: 5,364,478 allocs, 5,074,892 frees,
> 603,905,211 bytes allocated
> ==1920513==
> ==1920513== LEAK SUMMARY:
> ==1920513== definitely lost: 19,848 bytes in 186 blocks
> ==1920513== indirectly lost: 46,487 bytes in 820 blocks
> ==1920513== possibly lost: 7,405,431 bytes in 80,304 blocks
> ==1920513== still reachable: 25,932,365 bytes in 208,315 blocks
> ==1920513== of which reachable via heuristic:
> ==1920513== stdstring : 32,406 bytes in
> 649 blocks
> ==1920513== length64 : 2,308,144 bytes
> in 23,524 blocks
> ==1920513== suppressed: 0 bytes in 0 blocks
> ==1920513== Rerun with --leak-check=full to see details of leaked memory
> ==1920513==
> ==1920513== For lists of detected and suppressed errors, rerun with: -s
> ==1920513== ERROR SUMMARY: 154 errors from 13 contexts (suppressed: 0 from
> 0)
>
>
> I think the cause of the segmentation fault is an incompatibility of the
> projXX libraries.
>
> I tried to force just one version of proj to be installed, but I didn't
> succeed. libspatialite50 requires both proj82 and proj92.
>
> [root at vmi1397095 lib]# dnf repoquery --requires libspatialite50
> Last metadata expiration check: 2:33:06 ago on Tue Aug 29 07:48:15 2023.
> /sbin/ldconfig
> geos310 >= 3.10.3
> geos311 >= 3.11.2
> geos312 >= 3.12.0
> libc.so.6(GLIBC_2.34)(64bit)
> libfreexl.so.1()(64bit)
> libgeos_c.so.1()(64bit)
> libm.so.6()(64bit)
> libm.so.6(GLIBC_2.2.5)(64bit)
> libm.so.6(GLIBC_2.29)(64bit)
> libminizip.so.3.0()(64bit)
> libproj.so.22()(64bit)
> libproj.so.25()(64bit)
> librttopo.so.1()(64bit)
> libsqlite3.so.0()(64bit)
> libxml2.so.2()(64bit)
> libxml2.so.2(LIBXML2_2.4.30)(64bit)
> libxml2.so.2(LIBXML2_2.5.8)(64bit)
> libxml2.so.2(LIBXML2_2.6.0)(64bit)
> libxml2.so.2(LIBXML2_2.6.2)(64bit)
> libz.so.1()(64bit)
> libz.so.1(ZLIB_1.2.0)(64bit)
> proj82 >= 8.2.1
> proj92 >= 9.2.1
> rtld(GNU_HASH)
>
>
> If I try to uninstall proj81 or proj82... all postgis and gdal libraries
> are uninstalled :(
>
>
> [root at geonode lib]# dnf remove proj81
> Dependencies resolved.
>
> ======================================================================================================================================
> Package Architecture Version
> Repository Size
>
> ======================================================================================================================================
> Removing:
> proj81 x86_64
> 8.1.1-1.rhel9 @pgdg-common 11 M
> Removing dependent packages:
> gdal35 x86_64
> 3.5.3-6PGDG.rhel9 @pgdg-common 866 k
> gdal35-devel x86_64
> 3.5.3-6PGDG.rhel9 @pgdg-common 1.2 M
> gdal35-java x86_64
> 3.5.3-6PGDG.rhel9 @pgdg-common 1.8 M
> postgis33_13 x86_64
> 3.3.3-1.rhel9 @pgdg13 43 M
> Removing unused dependencies:
> SFCGAL x86_64
> 1.4.1-11.rhel9 @pgdg-common 32 k
> SFCGAL-libs x86_64
> 1.4.1-11.rhel9 @pgdg-common 6.8 M
> SuperLU x86_64
> 5.3.0-2.el9 @epel 475 k
> armadillo x86_64
> 10.8.2-4.el9 @epel 102 k
> arpack x86_64
> 3.8.0-4.el9 @epel 640 k
> blas x86_64
> 3.9.0-8.el9 @appstream 1.1 M
> boost-serialization x86_64
> 1.75.0-8.el9 @appstream 454 k
> cfitsio x86_64
> 4.1.0-1.el9 @epel 1.8 M
> flexiblas x86_64
> 3.0.4-8.el9 @appstream 68 k
> flexiblas-netlib x86_64
> 3.0.4-8.el9 @appstream 11 M
> flexiblas-netlib64 x86_64
> 3.0.4-8.el9 @crb 11 M
> flexiblas-openblas-openmp x86_64
> 3.0.4-8.el9 @appstream 39 k
> flexiblas-openblas-openmp64 x86_64
> 3.0.4-8.el9 @crb 40 k
> freexl x86_64
> 1.0.6-15.el9 @epel 69 k
> gdal35-libs x86_64
> 3.5.3-6PGDG.rhel9 @pgdg-common 24 M
> geos311 x86_64
> 3.11.2-1.rhel9 @pgdg-common 3.1 M
> geos312 x86_64
> 3.12.0-1PGDG.rhel9 @pgdg-common 3.5 M
> gmp-c++ x86_64
> 1:6.2.0-10.el9 @appstream 32 k
> gpsbabel x86_64
> 1.8.0-1.rhel9 @pgdg-common 1.9 M
> hdf-libs x86_64
> 4.2.15-7.el9 @epel 689 k
> hdf5 x86_64
> 1.12.1-7.el9.1 @epel 8.2 M
> javapackages-tools noarch
> 6.0.0-4.el9 @appstream 63 k
> lapack x86_64
> 3.9.0-8.el9 @appstream 15 M
> libaec x86_64
> 1.0.6-1.el9 @epel 119 k
> libgeotiff16 x86_64
> 1.6.0-6.rhel9 @pgdg-common 353 k
> libgeotiff16-devel x86_64
> 1.6.0-6.rhel9 @pgdg-common 132 k
> libgfortran x86_64
> 11.3.1-4.3.el9.alma @baseos 2.8 M
> libgta x86_64
> 1.2.1-7.el9 @epel 70 k
> libqhull_r x86_64
> 1:7.2.1-9.el9 @crb 388 k
> libquadmath x86_64
> 11.3.1-4.3.el9.alma @baseos 330 k
> librttopo x86_64
> 1.1.0-2.rhel9 @pgdg-common 623 k
> libspatialite50 x86_64
> 5.1.0-1PGDG.rhel9 @pgdg-common 20 M
> libspatialite50-devel x86_64
> 5.1.0-1PGDG.rhel9 @pgdg-common 773 k
> libtiff-devel x86_64
> 4.4.0-8.el9_2 @appstream 1.7 M
> lz4 x86_64
> 1.9.3-5.el9 @baseos 113 k
> minizip x86_64
> 3.0.2-6.el9 @epel 167 k
> netcdf x86_64
> 4.8.1-2.el9 @epel 2.1 M
> ogdi41 x86_64
> 4.1.0-3.rhel9 @pgdg-common 860 k
> openblas x86_64
> 0.3.21-2.el9 @appstream 82 k
> openblas-openmp x86_64
> 0.3.21-2.el9 @appstream 39 M
> openblas-openmp64 x86_64
> 0.3.21-2.el9 @crb 39 M
> openblas-serial x86_64
> 0.3.21-2.el9 @appstream 38 M
> pcre2-utf16 x86_64
> 10.40-2.el9 @appstream 571 k
> postgresql13-contrib x86_64
> 13.12-1PGDG.rhel9 @pgdg13 2.3 M
> proj90 x86_64
> 9.0.1-1.rhel9 @pgdg-common 13 M
> proj92 x86_64
> 9.2.1-1PGDG.rhel9 @pgdg-common 13 M
> qt5-qtbase x86_64
> 5.15.3-1.el9 @appstream 10 M
> qt5-qtbase-common noarch
> 5.15.3-1.el9 @appstream 75
> shapelib x86_64
> 1.5.0-12.el9 @epel 191 k
> sqlite x86_64
> 3.34.1-6.el9_1 @appstream 1.5 M
> unixODBC x86_64
> 2.3.9-4.el9 @appstream 1.4 M
> xerces-c x86_64
> 3.2.3-5.el9 @epel 3.6 M
>
> Transaction Summary
>
> ======================================================================================================================================
> Remove 57 Packages
>
> Freed space: 340 M
>
>
> I also tried to manually remove one of the projXX, but in that case the
> system dependendies are broken and the scripts fails with an error that the
> libraries are not available.
>
> I feel this problem is something recurrent for people dealing with gdal
> libraries, but I don't know if there is a workaround. Do you know a
> workaround to avoid the segmentation fault?
>
> I also tried to upgrade to python 3.11 but then another error rises about
> regular expression syntax when running python manage.py:
>
> (geonode-4.1.x) [geonode at geonode geonode-src]$ python3 manage.py
> Traceback (most recent call last):
> File "/home/geonode/geonode-src/manage.py", line 29, in <module>
> execute_from_command_line(sys.argv)
> File
> "/home/geonode/venv/geonode-4.1.x/lib64/python3.11/site-packages/django/core/management/__init__.py",
> line 419, in execute_from_command_line
> utility.execute()
> File
> "/home/geonode/venv/geonode-4.1.x/lib64/python3.11/site-packages/django/core/management/__init__.py",
> line 395, in execute
> django.setup()
> File
> "/home/geonode/venv/geonode-4.1.x/lib64/python3.11/site-packages/django/__init__.py",
> line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
> File
> "/home/geonode/venv/geonode-4.1.x/lib64/python3.11/site-packages/django/apps/registry.py",
> line 122, in populate
> app_config.ready()
> File "/home/geonode/geonode-src/geonode/harvesting/apps.py", line 31, in
> ready
> from geonode.urls import urlpatterns
> File "/home/geonode/geonode-src/geonode/urls.py", line 33, in <module>
> import geonode.proxy.urls
> File "/home/geonode/geonode-src/geonode/proxy/urls.py", line 22, in
> <module>
> from . import views
> File "/home/geonode/geonode-src/geonode/proxy/views.py", line 59, in
> <module>
> ows_regexp =
> re.compile(r"^(?i)(version)=(\d\.\d\.\d)(?i)&(?i)request=(?i)(GetCapabilities)&(?i)service=(?i)(\w\w\w)$")
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/__init__.py", line 227, in compile
> return _compile(pattern, flags)
> ^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/__init__.py", line 294, in _compile
> p = _compiler.compile(pattern, flags)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/_compiler.py", line 743, in compile
> p = _parser.parse(p, flags)
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/_parser.py", line 980, in parse
> p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/_parser.py", line 455, in _parse_sub
> itemsappend(_parse(source, state, verbose, nested + 1,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/re/_parser.py", line 841, in _parse
> raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 1
> Segmentation fault (core dumped)
>
>
> Regards.
> Orestes, member of Arxiu
> --
> Arxiu Històric del Poblenou
> Torre de les Aigües del Besòs, plaça Ramon Calsina 1
> www.arxiuhistoricpoblenou.cat - info at arxiuhistoricpoblenou.cat
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
--
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us for more information.
==
Dott. Giovanni Allegri
Technical Lead / Project Manager
GeoSolutions Group
phone: +39 0584 962313
cell: +39 345 2815774
fax: +39 0584 1660272
https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20230831/ea875fc7/attachment-0001.htm>
More information about the geonode-users
mailing list