PDAL / PDAL

PDAL is Point Data Abstraction Library. GDAL for point cloud data.

Home Page:https://pdal.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Symbol lookup error] /usr/lib/libpdalcpp.so.17: undefined symbol: _Z15xmlCheckVersioni

waarmond opened this issue · comments

Describe the bug
I've built this PKGBUILD against current sources. The build is successful, but running PDAL leads to:
pdal: symbol lookup error: /usr/lib/libpdalcpp.so.17: undefined symbol: _Z15xmlCheckVersioni

Expected behavior
Earlier failure during compilation ;)

System/installation information:

  • ArchLinux

  • Python 3.10 (sic)

  • pdal: git master (no working binary)

  • jsoncpp 1.9.5

  • libxml2 2.12.7 [added - removed - added again]

-DBUILD_PLUGIN_PGPOINTCLOUD=ON requires libxml2.

This is expressed in the STANDALONE cmake configuration, but I guess it is not in the normal plugin build mode. Make a patch to include that line at line 12 or later and you should be good to go.

I've recompiled with your patch but the same error remains.

Something with my libxml2 has to be wrong. CMake needs it so I can't test completely without it.

This symbol is missing from the XML library you're finding at runtime but it exists at build time. There is something inconsistent with the way your building vs. the way you're trying to run. You should verify the runtime path (RPATH) of your library and also make sure you aren't overriding with some environment variable.