[GRASS-user] 7.9.dev fails to find pdal

A couple of weeks ago I pulled changed files from the 7.9.dev github repo
and the new source configured, built, and installed with no errors.

Today it cannot find pdal-config (which is in /usr/bin/pdal-config along
with /usr/bin/pdal and /usr/include/pdal/ because pdal-2.2.0 is installed
here:

checking whether to use PDAL... yes
checking for pdal-config... /usr/bin/pdal-config
configure: error: *** Unable to locate PDAL library.

I'd like suggestions where to look for the problem.

TIA,

Rich

As there is no problem with pdal 2.1.0, it could be that something has
changed in pdal. Please take a look into config.log file to see the
actual error. If there isn't something that looks like a problem
specific to your machine, open a bug report and attach failing part of
config.log.

Māris.

2021-04-25 19:21 GMT+03:00, Rich Shepard <rshepard@appl-ecosys.com>:

A couple of weeks ago I pulled changed files from the 7.9.dev github repo
and the new source configured, built, and installed with no errors.

Today it cannot find pdal-config (which is in /usr/bin/pdal-config along
with /usr/bin/pdal and /usr/include/pdal/ because pdal-2.2.0 is installed
here:

checking whether to use PDAL... yes
checking for pdal-config... /usr/bin/pdal-config
configure: error: *** Unable to locate PDAL library.

I'd like suggestions where to look for the problem.

TIA,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sun, 25 Apr 2021, Maris Nartiss wrote:

As there is no problem with pdal 2.1.0, it could be that something has
changed in pdal. Please take a look into config.log file to see the actual
error. If there isn't something that looks like a problem specific to your
machine, open a bug report and attach failing part of config.log.

Maris.

I should have looked there first.

The error is "libgdal.so.26, needed by /usr/lib64/libpdal_base.so, not
found". That's because Slackware upgraded gdal so libgdal.so.28 is
installed. I thought that grass would find and use the newer gdal-3.2.2
that's installed.

I don't remember how to tell grass-7.9.dev there's a new version of gdal
installed.

Thanks,

Rich

On Sun, Apr 25, 2021 at 8:15 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:
...

I don't remember how to tell grass-7.9.dev there's a new version of gdal
installed.

You can simply recompile with (importantly, "make distclean" first).
Hence:

cd /path/to/src/
make distclean
configure ...
make

# depends (I personally just use it from the above created bin.arch
# directory and skip the next step)
sudo make install

HTH,
Markus

On Sun, 25 Apr 2021, Markus Neteler wrote:

You can simply recompile with (importantly, "make distclean" first).
Hence:

cd /path/to/src/
make distclean
configure ...
make

Markus,

I run 'make distclean' immediately after installing a new build.

Re-configuring keeps displaying the same error; I temporarily disabled pdal.
Will see what happens on the next pull.

Thanks,

Rich

You'll have to recompile PDAL after GDAL upgrade.

Good luck,
Māris.

2021-04-25 21:15 GMT+03:00, Rich Shepard <rshepard@appl-ecosys.com>:

The error is "libgdal.so.26, needed by /usr/lib64/libpdal_base.so, not
found". That's because Slackware upgraded gdal so libgdal.so.28 is
installed.

On Mon, 26 Apr 2021, Maris Nartiss wrote:

You'll have to recompile PDAL after GDAL upgrade.

Māris,

Thank you very much. I completely missed that. I've known for a while that I
need to recompile the stack proj -> geos -> gdal when proj or geos is
upgraded but I didn't realize that I need to add pdal to the end of this
chain. Now I know.

Stay well,

Rich