microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.8k stars 6.3k forks source link

[libspatialite] Build error #34047

Open sbjw opened 11 months ago

sbjw commented 11 months ago

Operating system

arm64-linux-dynamic

Compiler

gcc 11.4.0

Steps to reproduce the behavior

1、create new triplet
    cd triplets
    cp community/arm64-linux.cmake arm64-linux-dynamic.cmake

2、run command 
    vcpkg install libspatialite:arm64-linux-dynamic --recurse

Failure logs

Package: libspatialite[core,freexl,geocallbacks]:arm64-linux-dynamic -> 5.0.1#12

Host Environment

To Reproduce

vcpkg install libspatialite:arm64-linux-dynamic --recurse Failure logs

-- Using cached libspatialite-5.0.1.tar.gz.
-- Cleaning sources at /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /data/vcpkg/vcpkg-2023.08.09/downloads/libspatialite-5.0.1.tar.gz
-- Applying patch fix-makefiles.patch
-- Applying patch fix-linux-configure.patch
-- Applying patch gaiaconfig-msvc.patch
-- Applying patch fix-mingw.patch
-- Using source at /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean
-- Getting CMake variables for arm64-linux-dynamic-dbg
-- Getting CMake variables for arm64-linux-dynamic-rel
-- Generating configure for arm64-linux-dynamic
-- Finished generating configure for arm64-linux-dynamic
-- Configuring arm64-linux-dynamic-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/atialite-5-bc39e08d26.clean/configure  \"--enable-freexl\" \"--disable-gcp\" \"--enable-geocallbacks\" \"--disable-rttopo\" \"--disable-examples\" \"--disable-minizip\" \"--disable-silent-rules\" \"--verbose\" \"--enable-shared\" \"--disable-static\" \"LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm $LIBS\" \"--prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug\" \"--bindir=\\${prefix}/../tools/libspatialite/debug/bin\" \"--sbindir=\\${prefix}/../tools/libspatialite/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libspatialite\""
    Working Directory: /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg
    Error code: 77
    See logs for more information:
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-config.log
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-out.log
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:838 (vcpkg_execute_required_process)
  ports/libspatialite/portfile.cmake:180 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libspatialite configure 5.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --enable-shared --disable-static LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm --prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug --bindir=${prefix}/../tools/libspatialite/debug/bin --sbindir=${prefix}/../tools/libspatialite/debug/sbin --libdir=${prefix}/lib --includedir=${prefix}/../include --datarootdir=${prefix}/share/libspatialite ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = aarch64 uname -r = 4.19.90-17.ky10.aarch64 uname -s = Linux uname -v = #1 SMP Sun Jun 28 14:27:40 CST 2020 /usr/bin/uname -p = aarch64 /bin/uname -X = unknown /bin/arch = aarch64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/java/jdk8u382-b05/bin PATH: /usr/local/java/jdk8u382-b05/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin PATH: /root/bin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2584: checking for a BSD-compatible install configure:2652: result: /usr/bin/install -c configure:2663: checking whether build environment is sane configure:2718: result: yes configure:2867: checking for a thread-safe mkdir -p configure:2906: result: /usr/bin/mkdir -p configure:2913: checking for gawk configure:2929: found /usr/bin/gawk configure:2940: result: gawk configure:2951: checking whether make sets $(MAKE) configure:2973: result: yes configure:3002: checking whether make supports nested variables configure:3019: result: yes configure:3137: checking whether to enable maintainer-specific portions of Makefiles configure:3146: result: no configure:3206: checking whether make supports the include directive configure:3221: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:3224: $? = 0 configure:3243: result: yes (GNU style) configure:3313: checking for gcc configure:3340: result: /usr/bin/cc configure:3569: checking for C compiler version configure:3578: /usr/bin/cc --version >&5 cc (GCC) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3589: $? = 0 configure:3578: /usr/bin/cc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/11.4.0/lto-wrapper ... Skipped 42 lines ... /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::CoordinateArraySequence' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::MinimumBoundingCircle::getCircle()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTWriter::setTrim(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiLineString(std::vector >, std::allocator > > >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `vtable for geos::algorithm::locate::IndexedPointInAreaLocator' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::DelaunayTriangulationBuilder::getTriangles(geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::getDiagramEdges(geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Point::getX() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::simplify::TopologyPreservingSimplifier::simplify(geos::geom::Geometry const*, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::PrecisionModel::isFloating() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBReader::readHEX(std::istream&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::distance::DiscreteHausdorffDistance::distance(geos::geom::Geometry const&, geos::geom::Geometry const&, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::hull::ConcaveHullOfPolygons::concaveHullByLengthRatio(geos::geom::Geometry const*, double, bool, bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::shape::fractal::HilbertEncoder::HilbertEncoder(unsigned int, geos::geom::Envelope&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFTileSize64@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::polygon::ConstrainedDelaunayTriangulator::triangulate(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::IntersectionMatrix::toString[abi:cxx11]() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::IntersectionMatrix::IntersectionMatrix(std::__cxx11::basic_string, std::allocator > const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::Point' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::MinimumBoundingCircle::getCentre()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::IntersectionMatrix::matches(std::__cxx11::basic_string, std::allocator > const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPolygon(std::unique_ptr >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::LineString' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiPoint(std::vector >*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFIsTiled@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::noding::GeometryNoder::node(geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiLineString(std::vector >*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createLinearRing(geos::geom::CoordinateSequence*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::RepeatedPointRemover::removeRepeatedPoints(geos::geom::Geometry const*, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::buffer::BufferParameters::BufferParameters()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::util::Interrupt::request()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createLineString(unsigned long) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFStripSize64@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::MinimumDiameter::MinimumDiameter(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::overlayng::OverlayNGRobust::Union(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPoint(unsigned long) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::hull::ConcaveHull::setHolesAllowed(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::MinimumBoundingCircle::getRadius()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::buffer::BufferOp::getResultGeometry(double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::construct::LargestEmptyCircle::LargestEmptyCircle(geos::geom::Geometry const*, geos::geom::Geometry const*, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::relate::RelateOp::relate(geos::geom::Geometry const*, geos::geom::Geometry const*, geos::algorithm::BoundaryNodeRule const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `vtable for geos::geom::GeometryComponentFilter' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::util::GeometryFixer::getResult() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::DelaunayTriangulationBuilder::setSites(geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::difference(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::overlay::snap::GeometrySnapper::snapTo(geos::geom::Geometry const&, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::getPrecisionModel() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::setClipEnvelope(geos::geom::Envelope const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::create(geos::geom::PrecisionModel const*, int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBReader::WKBReader(geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Point::getCoordinatesRO() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::Polygonizer::getPolygons()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::distance::IndexedFacetDistance::distance(geos::geom::Geometry const*, geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::sharedpaths::SharedPathsOp::sharedPathsOp(geos::geom::Geometry const&, geos::geom::Geometry const&, std::vector >&, std::vector >&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createLineString(geos::geom::CoordinateSequence*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::util::Densifier::Densifier(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::MultiPolygon' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Point::getZ() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFSetSubDirectory@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createGeometryCollection(std::vector >*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::Orientation::isCCW(geos::geom::CoordinateSequence const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::destroy()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::setTolerance(double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `curl_easy_perform' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::overlayng::OverlayNGRobust::Overlay(geos::geom::Geometry const*, geos::geom::Geometry const*, int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTWriter::setOutputDimension(unsigned char)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createGeometryCollection() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::MinimumDiameter::getDiameter()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::hull::ConcaveHull::getHull()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiPolygon(std::vector >, std::allocator > > >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFReadEncodedStrip@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::geounion::CoverageUnion::Union(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::MultiLineString' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::prep::PreparedGeometryFactory::create(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::hull::ConcaveHull::setMaximumEdgeLengthRatio(double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPoint(geos::geom::Coordinate const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::linemerge::LineMerger::getMergedLineStrings()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::intersection::Rectangle::Rectangle(double, double, double, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::Polygonizer::getDangles()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::util::Interrupt::registerCallback(void (*)())' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::util::Densifier::setDistanceTolerance(double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFMergeFieldInfo@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFCurrentDirOffset@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::Polygon' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTWriter::WKTWriter()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBReader::setFixStructure(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBReader::read(unsigned char const*, unsigned long)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFIsCODECConfigured@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::DelaunayTriangulationBuilder::getEdges(geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::linemerge::LineMerger::~LineMerger()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::construct::MaximumInscribedCircle::getRadiusLine()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `curl_easy_init' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::relate(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::Polygonizer::Polygonizer(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::distance::DiscreteFrechetDistance::distance(geos::geom::Geometry const&, geos::geom::Geometry const&, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::GeoJSONWriter::write[abi:cxx11](geos::geom::Geometry const*, geos::io::GeoJSONType)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createGeometry(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::MakeValid::build(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::Union() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::distance::DiscreteFrechetDistance::distance(geos::geom::Geometry const&, geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::CoordinateSequence::expandEnvelope(geos::geom::Envelope&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::TopologyValidationError::getCoordinate() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPolygon(std::unique_ptr >&&, std::vector >, std::allocator > > >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::linemerge::LineMerger::LineMerger(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::distance::DiscreteHausdorffDistance::distance(geos::geom::Geometry const&, geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::Polygonizer::getInvalidRingLines()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::LinearRing' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::symDifference(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTReader::read(std::__cxx11::basic_string, std::allocator > const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::Union(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::buffer::BufferParameters::setQuadrantSegments(int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `curl_easy_cleanup' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::Geometry' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::LineString::getCoordinatesRO() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::util::Densifier::getResultGeometry() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::buffer::BufferBuilder::~BufferBuilder()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::CoordinateSequence::getEnvelope() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::GeoJSONReader::read(std::__cxx11::basic_string, std::allocator > const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiPolygon() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::precision::GeometryPrecisionReducer::reduce(geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::simplify::PolygonHullSimplifier::hullByAreaDelta(geos::geom::Geometry const*, bool, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::sharedpaths::SharedPathsOp::clearEdges(std::vector >&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiPoint(std::vector >, std::allocator > > >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFGetField@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::IsValidOp::getValidationError()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::overlayng::OverlayNG::overlay(geos::geom::Geometry const*, geos::geom::Geometry const*, int, geos::geom::PrecisionModel const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::relate(geos::geom::Geometry const*, std::__cxx11::basic_string, std::allocator > const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBWriter::setByteOrder(int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::BuildArea::build(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::buffer::BufferBuilder::bufferLineSingleSided(geos::geom::Geometry const*, double, bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `typeinfo for geos::geom::CoordinateSequence' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::linearref::LengthIndexedLine::LengthIndexedLine(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::TopologyValidationError::getMessage[abi:cxx11]() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::linearref::LengthIndexedLine::project(geos::geom::Coordinate const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::valid::TopologyValidationError::toString[abi:cxx11]() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::overlayng::UnaryUnionNG::Union(geos::geom::Geometry const*, geos::geom::PrecisionModel const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `curl_easy_setopt' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBWriter::setFlavor(int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::intersection::RectangleIntersection::clip(geos::geom::Geometry const&, geos::operation::intersection::Rectangle const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::CoordinateSequence::getOrdinate(unsigned long, unsigned long) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::PrecisionModel::PrecisionModel()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiPoint() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::intersection(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTWriter::setRoundingPrecision(int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::precision::MinimumClearance::getDistance()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::construct::LargestEmptyCircle::getRadiusLine()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::getInteriorPoint() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKBWriter::write(geos::geom::Geometry const&, std::ostream&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::operator<<(std::ostream&, geos::geom::Coordinate const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::BoundaryNodeRule::getBoundaryRuleMod2()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::WKTWriter::write[abi:cxx11](geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::GeoJSONReader::GeoJSONReader(geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::util::GeometryFixer::setKeepCollapsed(bool)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::VoronoiDiagramBuilder()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFReadEncodedTile@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::precision::MinimumClearance::getLine()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::buildGeometry(std::vector >, std::allocator > > >&&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::buffer(double, int) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::Orientation::index(geos::geom::Coordinate const&, geos::geom::Coordinate const&, geos::geom::Coordinate const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::setSites(geos::geom::Geometry const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPolygon(unsigned long) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::simplify::DouglasPeuckerSimplifier::simplify(geos::geom::Geometry const*, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::BoundaryNodeRule::getBoundaryMultivalentEndPoint()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `curl_easy_getinfo' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::triangulate::DelaunayTriangulationBuilder::DelaunayTriangulationBuilder()' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `vtable for geos::operation::polygonize::Polygonizer::LineStringAdder' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::algorithm::construct::MaximumInscribedCircle::MaximumInscribedCircle(geos::geom::Geometry const*, double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::shape::fractal::HilbertEncoder::encode(geos::geom::Envelope const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::PrecisionModel::PrecisionModel(double)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `vtable for geos::geom::CoordinateSequence' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::MultiLineString::isClosed() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryCollection::GeometryCollection(std::vector >, std::allocator > > >&&, geos::geom::GeometryFactory const&)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::linemerge::LineMerger::add(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Polygon::getNumInteriorRing() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::linearref::LengthIndexedLine::extractPoint(double) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFClose@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::operation::polygonize::Polygonizer::add(geos::geom::Geometry const*)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::Geometry::covers(geos::geom::Geometry const*) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createMultiLineString() const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libproj.so: undefined reference to `TIFFClientOpen@LIBTIFF_4.0' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::LineSegment::intersection(geos::geom::LineSegment const&) const' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::io::GeoJSONWriter::writeFormatted[abi:cxx11](geos::geom::Geometry const*, geos::io::GeoJSONType, int)' /usr/bin/ld: /data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/libgeos_c.so: undefined reference to `geos::geom::GeometryFactory::createPoint(geos::geom::CoordinateSequence*) const' collect2: error: ld returned 1 exit status configure:3635: $? = 1 configure:3673: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libspatialite" | #define PACKAGE_TARNAME "libspatialite" | #define PACKAGE_VERSION "5.0.1" | #define PACKAGE_STRING "libspatialite 5.0.1" | #define PACKAGE_BUGREPORT "a.furieri@lqt.it" | #define PACKAGE_URL "" | #define _LARGE_FILE 1 | #define _FILE_OFFSET_BITS 64 | #define _LARGEFILE_SOURCE 1 | #define NDEBUG 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3678: error: in `/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg': configure:3680: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fPIC -g' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-fPIC -g' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/c++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' ac_cv_env_LIBXML2_CFLAGS_set= ac_cv_env_LIBXML2_CFLAGS_value= ac_cv_env_LIBXML2_LIBS_set= ac_cv_env_LIBXML2_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/:/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/share/pkgconfig/ ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/bin/pkg-config ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=/usr/bin/cc ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' ANDROID_FALSE='' ANDROID_TRUE='' AR='/usr/bin/ar' AS='' AUTOCONF='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing autoconf' AUTOHEADER='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing autoheader' AUTOMAKE='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing automake-1.16' AWK='gawk' CC='/usr/bin/cc' CCDEPMODE='' CFLAGS='-fPIC -g' CPP='' CPPFLAGS='' CXX='/usr/bin/c++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-fPIC -g' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_EXAMPLES_FALSE='' ENABLE_EXAMPLES_TRUE='' ENABLE_GEOPACKAGE_FALSE='' ENABLE_GEOPACKAGE_TRUE='' EXEEXT='' FGREP='' GEOSCONFIG='' GEOS_CFLAGS='' GEOS_LDFLAGS='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib' LIBOBJS='' LIBS='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' LIBTOOL='' LIBXML2_CFLAGS='' LIBXML2_LIBS='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MACOSX_FALSE='' MACOSX_TRUE='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing makeinfo' MANIFEST_TOOL='' MINGW_FALSE='' MINGW_TRUE='' MKDIR_P='/usr/bin/mkdir -p' MODULE_ONLY_FALSE='' MODULE_ONLY_TRUE='' NM='/usr/bin/nm' NMEDIT='' OBJDUMP='/usr/bin/objdump' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='libspatialite' PACKAGE_BUGREPORT='a.furieri@lqt.it' PACKAGE_NAME='libspatialite' PACKAGE_STRING='libspatialite 5.0.1' PACKAGE_TARNAME='libspatialite' PACKAGE_URL='' PACKAGE_VERSION='5.0.1' PATH_SEPARATOR=':' PKG_CONFIG='/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/:/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/share/pkgconfig/' RANLIB='/usr/bin/ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='/usr/bin/strip' VERSION='5.0.1' ac_ct_AR='' ac_ct_CC='/usr/bin/cc' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${prefix}/../tools/libspatialite/debug/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share/libspatialite' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/../include' infodir='${datarootdir}/info' install_sh='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/install-sh' libdir='${prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${prefix}/../tools/libspatialite/debug/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libspatialite" #define PACKAGE_TARNAME "libspatialite" #define PACKAGE_VERSION "5.0.1" #define PACKAGE_STRING "libspatialite 5.0.1" #define PACKAGE_BUGREPORT "a.furieri@lqt.it" #define PACKAGE_URL "" #define _LARGE_FILE 1 #define _FILE_OFFSET_BITS 64 #define _LARGEFILE_SOURCE 1 #define NDEBUG 1 configure: exit 77 ```
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-out.log ``` checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for gcc... /usr/bin/cc checking whether the C compiler works... no ```
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-err.log ``` configure: error: in `/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg': configure: error: C compiler cannot create executables See `config.log' for more details ```

Additional context

No response

dg0yt commented 11 months ago

Please ensure that your dynamic triplet file contains

set(VCPKG_FIXUP_ELF_RPATH ON)

as x64-linux-dynamic does.

dg0yt commented 11 months ago

(Note that you must rebuild all packages for this triplet after adding this line.)

sbjw commented 11 months ago

ok, I try it again

sbjw commented 11 months ago

i remove all cache archives, installed buildtrees packages folder.

add set(VCPKG_FIXUP_ELF_RPATH ON) to file x64-linux-dynamic.cmake

but get the new error

Package: libspatialite[core,freexl,geocallbacks]:arm64-linux-dynamic -> 5.0.1#12

Host Environment

To Reproduce

vcpkg install libspatialite Failure logs

-- Using cached libspatialite-5.0.1.tar.gz.
-- Cleaning sources at /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /data/vcpkg/vcpkg-2023.08.09/downloads/libspatialite-5.0.1.tar.gz
-- Applying patch fix-makefiles.patch
-- Applying patch fix-linux-configure.patch
-- Applying patch gaiaconfig-msvc.patch
-- Applying patch fix-mingw.patch
-- Using source at /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean
-- Getting CMake variables for arm64-linux-dynamic-dbg
-- Getting CMake variables for arm64-linux-dynamic-rel
-- Generating configure for arm64-linux-dynamic
-- Finished generating configure for arm64-linux-dynamic
-- Configuring arm64-linux-dynamic-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/atialite-5-bc39e08d26.clean/configure  \"--enable-freexl\" \"--disable-gcp\" \"--enable-geocallbacks\" \"--disable-rttopo\" \"--disable-examples\" \"--disable-minizip\" \"--disable-silent-rules\" \"--verbose\" \"--enable-shared\" \"--disable-static\" \"LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm $LIBS\" \"--prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug\" \"--bindir=\\${prefix}/../tools/libspatialite/debug/bin\" \"--sbindir=\\${prefix}/../tools/libspatialite/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libspatialite\""
    Working Directory: /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg
    Error code: 1
    See logs for more information:
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-config.log
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-out.log
      /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:838 (vcpkg_execute_required_process)
  ports/libspatialite/portfile.cmake:180 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libspatialite configure 5.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --enable-shared --disable-static LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm --prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug --bindir=${prefix}/../tools/libspatialite/debug/bin --sbindir=${prefix}/../tools/libspatialite/debug/sbin --libdir=${prefix}/lib --includedir=${prefix}/../include --datarootdir=${prefix}/share/libspatialite ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = aarch64 uname -r = 4.19.90-17.ky10.aarch64 uname -s = Linux uname -v = #1 SMP Sun Jun 28 14:27:40 CST 2020 /usr/bin/uname -p = aarch64 /bin/uname -X = unknown /bin/arch = aarch64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/local/java/jdk8u382-b05/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin PATH: /root/bin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2584: checking for a BSD-compatible install configure:2652: result: /usr/bin/install -c configure:2663: checking whether build environment is sane configure:2718: result: yes configure:2867: checking for a thread-safe mkdir -p configure:2906: result: /usr/bin/mkdir -p configure:2913: checking for gawk configure:2929: found /usr/bin/gawk configure:2940: result: gawk configure:2951: checking whether make sets $(MAKE) configure:2973: result: yes configure:3002: checking whether make supports nested variables configure:3019: result: yes configure:3137: checking whether to enable maintainer-specific portions of Makefiles configure:3146: result: no configure:3206: checking whether make supports the include directive configure:3221: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:3224: $? = 0 configure:3243: result: yes (GNU style) configure:3313: checking for gcc configure:3340: result: /usr/bin/cc configure:3569: checking for C compiler version configure:3578: /usr/bin/cc --version >&5 cc (GCC) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3589: $? = 0 configure:3578: /usr/bin/cc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/11.4.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: ./configure --enable-checking=release --enable-languages=c,c++ --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.4.0 (GCC) configure:3589: $? = 0 configure:3578: /usr/bin/cc -V >&5 cc: error: unrecognized command-line option '-V' cc: fatal error: no input files compilation terminated. configure:3589: $? = 1 configure:3578: /usr/bin/cc -qversion >&5 cc: error: unrecognized command-line option '-qversion'; did you mean '--version'? cc: fatal error: no input files compilation terminated. configure:3589: $? = 1 configure:3609: checking whether the C compiler works configure:3631: /usr/bin/cc -fPIC -g -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib conftest.c -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm >&5 configure:3635: $? = 0 configure:3683: result: yes configure:3686: checking for C compiler default output file name configure:3688: result: a.out configure:3694: checking for suffix of executables configure:3701: /usr/bin/cc -o conftest -fPIC -g -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib conftest.c -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm >&5 configure:3705: $? = 0 configure:3727: result: configure:3749: checking whether we are cross compiling configure:3757: /usr/bin/cc -o conftest -fPIC -g -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib conftest.c -L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm >&5 configure:3761: $? = 0 configure:3768: ./conftest ./conftest: error while loading shared libraries: libgeos_c.so.1: cannot open shared object file: No such file or directory configure:3772: $? = 127 configure:3779: error: in `/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg': configure:3781: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fPIC -g' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-fPIC -g' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/c++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' ac_cv_env_LIBXML2_CFLAGS_set= ac_cv_env_LIBXML2_CFLAGS_value= ac_cv_env_LIBXML2_LIBS_set= ac_cv_env_LIBXML2_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/:/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/share/pkgconfig/ ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/bin/pkg-config ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=/usr/bin/cc ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' ANDROID_FALSE='' ANDROID_TRUE='' AR='/usr/bin/ar' AS='' AUTOCONF='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing autoconf' AUTOHEADER='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing autoheader' AUTOMAKE='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing automake-1.16' AWK='gawk' CC='/usr/bin/cc' CCDEPMODE='' CFLAGS='-fPIC -g' CPP='' CPPFLAGS='' CXX='/usr/bin/c++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-fPIC -g' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_EXAMPLES_FALSE='' ENABLE_EXAMPLES_TRUE='' ENABLE_GEOPACKAGE_FALSE='' ENABLE_GEOPACKAGE_TRUE='' EXEEXT='' FGREP='' GEOSCONFIG='' GEOS_CFLAGS='' GEOS_LDFLAGS='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib' LIBOBJS='' LIBS='-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' LIBTOOL='' LIBXML2_CFLAGS='' LIBXML2_LIBS='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MACOSX_FALSE='' MACOSX_TRUE='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing makeinfo' MANIFEST_TOOL='' MINGW_FALSE='' MINGW_TRUE='' MKDIR_P='/usr/bin/mkdir -p' MODULE_ONLY_FALSE='' MODULE_ONLY_TRUE='' NM='/usr/bin/nm' NMEDIT='' OBJDUMP='/usr/bin/objdump' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='libspatialite' PACKAGE_BUGREPORT='a.furieri@lqt.it' PACKAGE_NAME='libspatialite' PACKAGE_STRING='libspatialite 5.0.1' PACKAGE_TARNAME='libspatialite' PACKAGE_URL='' PACKAGE_VERSION='5.0.1' PATH_SEPARATOR=':' PKG_CONFIG='/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/:/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/share/pkgconfig/' RANLIB='/usr/bin/ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='/usr/bin/strip' VERSION='5.0.1' ac_ct_AR='' ac_ct_CC='/usr/bin/cc' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${prefix}/../tools/libspatialite/debug/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share/libspatialite' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/../include' infodir='${datarootdir}/info' install_sh='${SHELL} /data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/install-sh' libdir='${prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${prefix}/../tools/libspatialite/debug/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libspatialite" #define PACKAGE_TARNAME "libspatialite" #define PACKAGE_VERSION "5.0.1" #define PACKAGE_STRING "libspatialite 5.0.1" #define PACKAGE_BUGREPORT "a.furieri@lqt.it" #define PACKAGE_URL "" #define _LARGE_FILE 1 #define _FILE_OFFSET_BITS 64 #define _LARGEFILE_SOURCE 1 #define NDEBUG 1 configure: exit 1 ```
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-out.log ``` checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for gcc... /usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... ```
/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/config-arm64-linux-dynamic-dbg-err.log ``` configure: error: in `/data/vcpkg/vcpkg-2023.08.09/buildtrees/libspatialite/arm64-linux-dynamic-dbg': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details ```
sbjw commented 11 months ago

in building get the error image

but i found the so file in geos folder image

dg0yt commented 11 months ago

Hm, I can't reproduce this error for native x64-linux-dynamic builds, but I see the problem: The port is supplying LIBS in order to reduce the amount of patching. The libs are found when compiling configuration test programs. But when trying to run a compiled test program, the runtime-linker doesn't find the directory of vcpkg's libs.

It is possible to pass rpath flags, but we don't want absolute paths in the final binaries. It is possible to provide search paths via LD_LIBRARY_PATH but this would need to be setup per build type (debug, release), and it could break programs which are run during the build.

Maybe we should simply enforce cross-compilation mode which doesn't run configuration test programs. At least when passing LIBS.

sbjw commented 11 months ago

@dg0yt Eh, i found some problem .

in x64-linux-dynamic , the command is

./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --enable-shared --disable-static 'LIBS=-L/opt/vcpkg-2023.08.09/installed/x64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' --prefix=/opt/vcpkg-2023.08.09/installed/x64-linux-dynamic/debug '--bindir=${prefix}/../tools/libspatialite/debug/bin' '--sbindir=${prefix}/../tools/libspatialite/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libspatialite'

in arm64-linux-dynamic, the command is

./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --enable-shared --disable-static LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug/lib/pkgconfig/../../lib -lgeos_c -lxml2 -lproj -lsqlite3 -lz -lfreexl -lm ' --prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux-dynamic/debug --bindir=${prefix}/../tools/libspatialite/debug/bin --sbindir=${prefix}/../tools/libspatialite/debug/sbin --libdir=${prefix}/lib --includedir=${prefix}/../include --datarootdir=${prefix}/share/libspatialite

the arm64-linux-dynamic missing a lot of quotations

so i add the quotation(') to the same position.

./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --disable-shared --enable-static 'LIBS=-L/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux/debug/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiffd -ljpeg -llzma -lcurl-d -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm ' --prefix=/data/vcpkg/vcpkg-2023.08.09/installed/arm64-linux/debug '--bindir=${prefix}/../tools/libspatialite/debug/bin' '--sbindir=${prefix}/../tools/libspatialite/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libspatialite'

It is works well .
image

Is that the problem?

dg0yt commented 9 months ago

Which linux system are using at that arm64 host? Maybe the system pkg-config tool is too old? Try

pkg-config --version 
dg0yt commented 8 months ago

Does the problem still occur with the latest version?

35574 generally marked builds as cross-compiling so that no conftest programs should be run during configure.

egoogins commented 6 months ago

Not the original poster but I'm seeing the same issue with a different host (but still arm)

os: macOS Sonoma triplet: gdal_arm64-osx pkg-config version: 0.29.2 Apple clang version 15.0.0

github-actions[bot] commented 3 days ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.