homechnnanaconda3liblibpng.so: undefined reference to `inflateValidate@ZLIB

    技术2024-12-26  14

    Ubuntu16.04上编译PCL库出现这个问题,/home/chnn/anaconda3/lib/libpng.so: undefined reference to inflateValidate@ZLIB_1.2.9 collect2: error: ld returned 1 exit status,搜索了一下sudo apt search libpng,安装libpng16-dev即可。

    解决方法:

    sudo apt install libpng16-dev
    Processed: 0.010, SQL: 9