[gdal-dev] Segmentation fault while compiling

afernandez afernandez at odyhpc.com
Wed Feb 15 15:20:23 PST 2023


Hello,
I'm trying to compile GDAL from source in order to include the KEA 
components. My attempt at compiling (configured simply with cmake .. 
-DCMAKE_INSTALL_PREFIX=/usr) failed towards the end with a segmentation 
fault error, which I cannot figure out 
...
[ 98%] Built target testlog
[ 98%] Building CXX object 
autotest/cpp/CMakeFiles/test_osr_set_proj_search_paths.dir/test_osr_set_proj_search_paths.cpp.o

[ 98%] Building CXX object 
autotest/cpp/CMakeFiles/test_osr_set_proj_search_paths.dir/main_gtest.cpp.o
[ 98%] Linking CXX executable test_osr_set_proj_search_paths
[ 98%] Built target test_osr_set_proj_search_paths
[ 98%] Building CXX object 
autotest/cpp/CMakeFiles/proj_with_fork.dir/proj_with_fork.cpp.o
[ 98%] Building CXX object 
autotest/cpp/CMakeFiles/proj_with_fork.dir/main_gtest.cpp.o
[ 98%] Linking CXX executable proj_with_fork
[ 98%] Built target proj_with_fork
[ 98%] Building CXX object 
autotest/CMakeFiles/pytest_runner.dir/pytest_runner.cpp.o
[ 98%] Linking CXX executable pytest_runner
[ 98%] Built target pytest_runner
Segmentation fault
make[2]: *** 
[autotest/CMakeFiles/run_setup_proj_db_tmpdir.dir/build.make:70: 
autotest/CMakeFiles/run_setup_proj_db_tmpdir] Error 1
make[1]: *** [CMakeFiles/Makefile2:12792: 
autotest/CMakeFiles/run_setup_proj_db_tmpdir.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Thanks.
P.S. OS is Ubuntu22.04 and architecture is aarch64; GDAL is cloned from 
Github
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230215/ac35d82e/attachment-0001.htm>


More information about the gdal-dev mailing list