<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Markus</p>
    <p>Thanks for your reply. It was the first time I compiled. Running
      sudo ldconfig did not help. When running export
      LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" first, grass
      compiles without errors with pdal (mentioned in
      <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/grass/ticket/2732">https://trac.osgeo.org/grass/ticket/2732</a>). (so I guess I am doing
      something wrong on the ldconfig part).<br>
    </p>
    <p>When trying to run v.in.pdal, however, I get the following:</p>
    <pre>v.in.pdal

v.in.pdal: error while loading shared libraries: libpdal_base.so.5: cannot open shared object file: No such file or directory

</pre>
    <p>After creating symlinks libpdal_base.so.5  pointing to
      libpdal_base.so.7 and libpdal_utils.so.5  pointing to
      libpdal_utils.so.7, I can open the v.in.pdal window, but when
      trying to run (e.g., importing the demo data from
<a class="moz-txt-link-freetext" href="https://grasswiki.osgeo.org/wiki/Processing_lidar_and_UAV_point_clouds_in_GRASS_GIS_(workshop_at_FOSS4G_Boston_2017)#Addons)">https://grasswiki.osgeo.org/wiki/Processing_lidar_and_UAV_point_clouds_in_GRASS_GIS_(workshop_at_FOSS4G_Boston_2017)#Addons)</a>
      I am getting a segmentation fault:<br>
    </p>
    <pre>v.in.pdal input=/home/paulo/Desktop/nc_tile_0793_016_spm.las output=test2</pre>
    <pre>Running PDAL algorithms...</pre>
    <pre>Segmentation fault (core dumped)</pre>
    <p>Any ideas how to solve this? <br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/2/19 3:26 PM, Markus Neteler
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALFmHhsKZL3oucqsafs6kzvsDNVFEDy=N-mTXJo8+O9vDHhmwQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>Hi,<br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr">Am Mi., 2. Jan. 2019, 14:58 hat Paulo van
              Breugel <<a href="mailto:p.vanbreugel@gmail.com"
                moz-do-not-send="true">p.vanbreugel@gmail.com</a>>
              geschrieben:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <p>Hi devs,</p>
                <p>I am trying to compile grass with pdal. My system is
                  Ubuntu 18.04, grass 7.7.svn (r73901), pdal 1.8.0
                  (git-version: dfface).</p>
                <p>When trying to compile with</p>
                <pre>--with-pdal=/usr/local/bin/pdal-config</pre>
                <p>I get the following error message:</p>
                <pre>Errors in:
/home/paulo/Software/Linux/grass7/trunk/vector/v.in.pdal
--
</pre>
                <p>When running make in the v.in.pdal folder, I get:</p>
                <pre>make
if [ "/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin/v.in.pdal" != "" ] ; then GISRC=/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/demolocation/.grassrc77 GISBASE=/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu PATH="/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/etc/python:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/scripts:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/lib:/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C LANG=C LANGUAGE=C /home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin/v.in.pdal --html-description < /dev/null | grep -v '</body>\|</html>' > v.in.pdal.tmp.html ; fi
/home/paulo/Software/Linux/grass7/trunk/dist.x86_64-pc-linux-gnu/bin/v.in.pdal: error while loading shared libraries: libpdal_base.so.7: cannot open shared object file: No such file or directory
../../include/Make/Html.make:14: recipe for target 'v.in.pdal.tmp.html' failed
make: *** [v.in.pdal.tmp.html] Error 1
rm v.in.pdal.tmp.html
</pre>
                <p>Any idea what I am doing wrong?</p>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">In case you updated PDAL, did you run</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">sudo ldconfig</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Markus</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <p>Cheers,</p>
                <p>Paulo<br>
                </p>
                <p><br>
                </p>
                <p> <br>
                </p>
              </div>
              _______________________________________________<br>
              grass-dev mailing list<br>
              <a href="mailto:grass-dev@lists.osgeo.org" target="_blank"
                rel="noreferrer" moz-do-not-send="true">grass-dev@lists.osgeo.org</a><br>
              <a
                href="https://lists.osgeo.org/mailman/listinfo/grass-dev"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>