<html><head></head><body><div>
           
    
    
      
        <meta charset="utf-8">
      
      
        <div id="compose-body-wrapper" dir="auto"><div dir="auto">The problem doesn't seem to be about having 2 copies of PROJ as I checked. I was able to compile v3.6.2 w/o this issue so it might be something in the master branch (maybe the python script that you mention).</div><div dir="auto"><br></div></div><div class="replyHeader" dir="auto">Even Rouault wrote:</div><br><br><div><blockquote cite="mid:090e9fae-2e01-740f-9648-0b5e87a6b1e2@spatialys.com" type="cite" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  
    <p>This is a new Python script that runs the Python bindings and use
      PROJ functionality. Aren't you running into the issue of having 2
      PROJ versions described in
      <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/7250">https://github.com/OSGeo/gdal/pull/7250</a>?</p>
    <p>If you don't need to run GDAL tests, you can add
      -DBUILD_TESTING=OFF to your CMake invokation and that will avoid
      running this script. But the crash indicates something fishy that
      might hit you at execution of your GDAL build<br>
    </p>
    <div class="moz-cite-prefix">Le 16/02/2023 à 00:20, afernandez a
      écrit :<br>
    </div>
    <blockquote type="cite" cite="mid:ac3d715ae053.777fa1f843dc7@odyhpc.com">
      <div>
        <div id="compose-body-wrapper" dir="auto">
          <div dir="auto">
            <div dir="auto">Hello,</div>
            <div dir="auto">I'm trying to compile GDAL from source in
              order to include the KEA components. My attempt at
              compiling (configured simply with <i>cmake ..
                -DCMAKE_INSTALL_PREFIX=/usr</i>) failed towards the end
              with a segmentation fault error, which I cannot figure
              out    </div>
            <div dir="auto"><i>...</i></div>
            <div dir="auto"><i>[ 98%] Built target testlog</i></div>
            <div dir="auto"><i>[ 98%] Building CXX object
autotest/cpp/CMakeFiles/test_osr_set_proj_search_paths.dir/test_osr_set_proj_search_paths.cpp.o</i></div>
            <div dir="auto"><i>[ 98%] Building CXX object
autotest/cpp/CMakeFiles/test_osr_set_proj_search_paths.dir/main_gtest.cpp.o</i></div>
            <div dir="auto"><i>[ 98%] Linking CXX executable
                test_osr_set_proj_search_paths</i></div>
            <div dir="auto"><i>[ 98%] Built target
                test_osr_set_proj_search_paths</i></div>
            <div dir="auto"><i>[ 98%] Building CXX object
                autotest/cpp/CMakeFiles/proj_with_fork.dir/proj_with_fork.cpp.o</i></div>
            <div dir="auto"><i>[ 98%] Building CXX object
                autotest/cpp/CMakeFiles/proj_with_fork.dir/main_gtest.cpp.o</i></div>
            <div dir="auto"><i>[ 98%] Linking CXX executable
                proj_with_fork</i></div>
            <div dir="auto"><i>[ 98%] Built target proj_with_fork</i></div>
            <div dir="auto"><i>[ 98%] Building CXX object
                autotest/CMakeFiles/pytest_runner.dir/pytest_runner.cpp.o</i></div>
            <div dir="auto"><i>[ 98%] Linking CXX executable
                pytest_runner</i></div>
            <div dir="auto"><i>[ 98%] Built target pytest_runner</i></div>
            <div dir="auto"><i>Segmentation fault</i></div>
            <div dir="auto"><i>make[2]: ***
                [autotest/CMakeFiles/run_setup_proj_db_tmpdir.dir/build.make:70:
                autotest/CMakeFiles/run_setup_proj_db_tmpdir] Error 1</i></div>
            <div dir="auto"><i>make[1]: *** [CMakeFiles/Makefile2:12792:
                autotest/CMakeFiles/run_setup_proj_db_tmpdir.dir/all]
                Error 2</i></div>
            <div dir="auto"><i>make: *** [Makefile:146: all] Error 2</i></div>
            <div dir="auto">Thanks.</div>
            <div dir="auto">P.S. OS is Ubuntu22.04 and architecture is
              aarch64; GDAL is cloned from Github</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  
</blockquote></div>
      
    
  
        </div></body></html>