[pdal] pdal python binding installation error

Giuseppe Falcone falcone.giuseppe at gmail.com
Wed Sep 27 02:39:49 PDT 2017


Hi to all!

I have a problem during installation of python pdal binding.
I have an ubuntu 16.04 LTS. I have compiled PCL from source (some pdal
filters that I want apply required that) and then I have compiled pdal
1.5.0 (from source) with pcl support. pcl and pdal compile are ok.
Now I want to install python binding.
With pip or executing setup.py in pdal python dir I have same error:


cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++
    c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security
build/temp.linux-x86_64-2.7/pdal/libpdalpython.o
build/temp.linux-x86_64-2.7/pdal/PyPipeline.o -L/usr/local/lib -lpdalcpp
-lpdal_plang -o build/lib.linux-x86_64-2.7/pdal/libpdalpython.so
    /usr/bin/ld: cannot find -lpdal_plang
    collect2: error: ld returned 1 exit status
    error: command 'c++' failed with exit status 1


there is a pdal_plang library missing (I think). pdal_plang requires
pdal_base lib which in turn requires gdal-abi-2-1-2 that is a virtual
package that send to libgdal20 that is already installed, but I have
dependency error:


$ sudo dpkg -i libpdal-plang4_1.4.0-1_amd64.deb
Selecting previously unselected package libpdal-plang4.
(Reading database ... 247915 files and directories currently installed.)
Preparing to unpack libpdal-plang4_1.4.0-1_amd64.deb ...
Unpacking libpdal-plang4 (1.4.0-1) ...
dpkg: dependency problems prevent configuration of libpdal-plang4:
 libpdal-plang4 depends on libpdal-base4 (>= 1.3.0); however:
  Package libpdal-base4 is not installed.

dpkg: error processing package libpdal-plang4 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 libpdal-plang4

$ sudo dpkg -i libpdal-base4_1.4.0-1_amd64.deb
Selecting previously unselected package libpdal-base4.
(Reading database ... 247920 files and directories currently installed.)
Preparing to unpack libpdal-base4_1.4.0-1_amd64.deb ...
Unpacking libpdal-base4 (1.4.0-1) ...
dpkg: dependency problems prevent configuration of libpdal-base4:
 libpdal-base4 depends on gdal-abi-2-1-2; however:
  Package gdal-abi-2-1-2 is not installed.

dpkg: error processing package libpdal-base4 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 libpdal-base4


Could someone help me?
Thanks a lot

Giuseppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170927/9eaa76aa/attachment.html>


More information about the pdal mailing list