Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arrow] make usable arrow.pc with Windows static builds #29091

Closed
lukester1975 opened this issue Jan 21, 2023 · 4 comments
Closed

[arrow] make usable arrow.pc with Windows static builds #29091

lukester1975 opened this issue Jan 21, 2023 · 4 comments
Assignees
Labels
requires:repro The issue is not currently repro-able Stale

Comments

@lukester1975
Copy link

Is your feature request related to a problem? Please describe.

This is a follow on from apache/arrow#15139

With vcpkg as of e69dd97 and a vcpkg.json:

{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
  "name": "vcpkg-arrow-test",
  "version": "0.0.0",
  "dependencies": [
    {
      "name": "arrow",
      "default-features": false
    }
  ]
}

vcpkg install --triplet x64-windows-static-md from a VS2022 env generates vcpkg_installed/x64-windows-static-md/debug/lib/pkgconfig/arrow.pc:

...
Libs: "-L${libdir}" -larrow "${prefix}/lib/snappy.lib" "${prefix}/lib/bz2d.lib"
Requires: 
Cflags: "-I${includedir}" -DARROW_STATIC

This is missing a bunch of the compression libs and as such is not trivially useable. Due to:

-- pkg-config package for libbrotlidec for static link isn't found
-- pkg-config package for libbrotlienc for static link isn't found
-- pkg-config package for zlib for static link isn't found
...

Proposed solution

As per apache/arrow#15139, getting PKG_CONFIG_PATH passed through to cmake seems to be key. The following hack:

diff --git a/ports/arrow/portfile.cmake b/ports/arrow/portfile.cmake
index fd835238b..407216a01 100644
--- a/ports/arrow/portfile.cmake
+++ b/ports/arrow/portfile.cmake
@@ -42,6 +42,8 @@ string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} "dynamic" ARROW_BUILD_SHARED)
 string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} "static" ARROW_BUILD_STATIC)
 string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} "dynamic" ARROW_DEPENDENCY_USE_SHARED)
 
+z_vcpkg_setup_pkgconfig_path(BASE_DIRS "${CURRENT_INSTALLED_DIR}/debug")
+
 vcpkg_cmake_configure(
     SOURCE_PATH "${SOURCE_PATH}/cpp"
     OPTIONS

generates arrow.pc:

...
Libs: "-L${libdir}" -larrow "${prefix}/lib/bz2d.lib"
Requires: snappy libbrotlidec libbrotlienc zlib liblz4 libzstd
Cflags: "-I${includedir}" -DARROW_STATIC

Which looks correct to me. That's obviously not the right solution (aside from the explicit debug) but I have no idea what the correct one is. Trying to set PKG_CONFIG_PATH explicitly in the environment before vcpkg install doesn't work (and would be unpleasant to require even if it did).

I do see that vcpkg_configure_cmake doesn't use z_vcpkg_setup_pkgconfig_path at all, whereas the other configures do (vcpkg_configure_qmake, vcpkg_configure_meson, etc.). I don't know enough about vcpkg or cmake to understand if that's intentional or otherwise, however!

Happy to try any suggestions but I doubt I'll have any more of my own...

Additional context

Note this apache/arrow#33712 from the arrow issue actually makes the arrow.pc worse: apache/arrow#15139 (comment).

Thanks

@Cheney-W Cheney-W added the category:port-bug The issue is with a library, which is something the port should already support label Jan 28, 2023
@Cheney-W Cheney-W added requires:repro The issue is not currently repro-able and removed category:port-bug The issue is with a library, which is something the port should already support labels Apr 20, 2023
@Cheney-W
Copy link
Contributor

I can't reproduce this issue in my side with the latest vcpkg version 2023-04-07-bedcba5172f5e4b91caac660ab7afe92c27a9895.

The contents of my vcpkg_installed/x64-windows-static-md/debug/lib/pkgconfig/arrow.pc as below:

includedir=${prefix}/../include
libdir=${prefix}/lib

so_version=1100
abi_version=1100
full_so_version=1100.0.0

Name: Apache Arrow
Description: Arrow is a set of technologies that enable big-data systems to process and move data fast.
Version: 11.0.0

Libs: "-L${libdir}" -larrow ${prefix}/lib/snappy.lib ${prefix}/lib/re2.lib ${prefix}/lib/bz2d.lib
Requires:  
Cflags: "-I${includedir}" -DARROW_STATIC

And below contents run successfully:

find_package(PkgConfig REQUIRED)
pkg_check_modules(arrow REQUIRED IMPORTED_TARGET arrow)
target_link_libraries(main PkgConfig::arrow)

@lukester1975
Copy link
Author

lz4, brotli* etc. are still missing from the libs line, so as soon as functions are used in those libs it surely won't link.

Here's an example: https://github.com/lukester1975/vcpkg-arrow-pc

Link errors:

arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderCreateInstance referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::Init(void)" (?Init@BrotliDecompressor@?A0x0b442290@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderDestroyInstance referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::~BrotliDecompressor(void)" (??1BrotliDecompressor@?A0x0b442290@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderDecompress referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::BrotliCodec::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@BrotliCodec@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderDecompressStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Decompressor::DecompressResult> __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@BrotliDecompressor@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@UDecompressResult@Decompressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderIsFinished referenced in function "public: virtual bool __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::IsFinished(void)" (?IsFinished@BrotliDecompressor@?A0x0b442290@internal@util@arrow@@UEAA_NXZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderGetErrorCode referenced in function "public: virtual class arrow::Result<struct arrow::util::Decompressor::DecompressResult> __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@BrotliDecompressor@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@UDecompressResult@Decompressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliDecoderErrorString referenced in function "protected: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::BrotliDecompressor::BrotliError(enum BrotliDecoderErrorCode,char const *)" (?BrotliError@BrotliDecompressor@?A0x0b442290@internal@util@arrow@@IEAA?AVStatus@5@W4BrotliDecoderErrorCode@@PEBD@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderSetParameter referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::Init(void)" (?Init@BrotliCompressor@?A0x0b442290@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderCreateInstance referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::Init(void)" (?Init@BrotliCompressor@?A0x0b442290@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderDestroyInstance referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::~BrotliCompressor(void)" (??1BrotliCompressor@?A0x0b442290@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderMaxCompressedSize referenced in function "public: virtual __int64 __cdecl arrow::util::internal::`anonymous namespace'::BrotliCodec::MaxCompressedLen(__int64,unsigned char const *)" (?MaxCompressedLen@BrotliCodec@?A0x0b442290@internal@util@arrow@@UEAA_J_JPEBE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderCompress referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::BrotliCodec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@BrotliCodec@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderCompressStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@BrotliCompressor@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderIsFinished referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::EndResult> __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::End(__int64,unsigned char *)" (?End@BrotliCompressor@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@UEndResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_brotli.cc.obj) : error LNK2019: unresolved external symbol BrotliEncoderHasMoreOutput referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::FlushResult> __cdecl arrow::util::internal::`anonymous namespace'::BrotliCompressor::Flush(__int64,unsigned char *)" (?Flush@BrotliCompressor@?A0x0b442290@internal@util@arrow@@UEAA?AV?$Result@UFlushResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol deflate referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::GZipCompressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@GZipCompressor@?A0x4ef532dd@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol deflateEnd referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::GZipCompressor::~GZipCompressor(void)" (??1GZipCompressor@?A0x4ef532dd@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol inflate referenced in function "public: virtual class arrow::Result<struct arrow::util::Decompressor::DecompressResult> __cdecl arrow::util::internal::`anonymous namespace'::GZipDecompressor::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@GZipDecompressor@?A0x4ef532dd@internal@util@arrow@@UEAA?AV?$Result@UDecompressResult@Decompressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol inflateEnd referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::GZipDecompressor::~GZipDecompressor(void)" (??1GZipDecompressor@?A0x4ef532dd@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol deflateReset referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::GZipCodec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@GZipCodec@?A0x4ef532dd@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol deflateBound referenced in function "public: virtual __int64 __cdecl arrow::util::internal::`anonymous namespace'::GZipCodec::MaxCompressedLen(__int64,unsigned char const *)" (?MaxCompressedLen@GZipCodec@?A0x4ef532dd@internal@util@arrow@@UEAA_J_JPEBE@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol inflateReset referenced in function "public: virtual class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::GZipDecompressor::Reset(void)" (?Reset@GZipDecompressor@?A0x4ef532dd@internal@util@arrow@@UEAA?AVStatus@5@XZ)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol deflateInit2_ referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::GZipCompressor::Init(enum arrow::util::internal::GZipFormat::type)" (?Init@GZipCompressor@?A0x4ef532dd@internal@util@arrow@@QEAA?AVStatus@5@W4type@GZipFormat@345@@Z)
arrow.lib(compression_zlib.cc.obj) : error LNK2019: unresolved external symbol inflateInit2_ referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::GZipDecompressor::Init(void)" (?Init@GZipDecompressor@?A0x4ef532dd@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4_compress_default referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::Lz4Codec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@Lz4Codec@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4_decompress_safe referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::Lz4Codec::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@Lz4Codec@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4_compressBound referenced in function "public: virtual __int64 __cdecl arrow::util::internal::`anonymous namespace'::Lz4Codec::MaxCompressedLen(__int64,unsigned char const *)" (?MaxCompressedLen@Lz4Codec@?A0x9d88031e@internal@util@arrow@@UEAA_J_JPEBE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_isError referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::LZ4Decompressor::Init(void)" (?Init@LZ4Decompressor@?A0x9d88031e@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_getErrorName referenced in function "class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::LZ4Error(unsigned __int64,char const *)" (?LZ4Error@?A0x9d88031e@internal@util@arrow@@YA?AVStatus@4@_KPEBD@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressionLevel_max referenced in function "public: virtual int __cdecl arrow::util::internal::`anonymous namespace'::Lz4FrameCodec::maximum_compression_level(void)const " (?maximum_compression_level@Lz4FrameCodec@?A0x9d88031e@internal@util@arrow@@UEBAHXZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressFrameBound referenced in function "public: virtual __int64 __cdecl arrow::util::internal::`anonymous namespace'::Lz4FrameCodec::MaxCompressedLen(__int64,unsigned char const *)" (?MaxCompressedLen@Lz4FrameCodec@?A0x9d88031e@internal@util@arrow@@UEAA_J_JPEBE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressFrame referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::Lz4FrameCodec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@Lz4FrameCodec@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_createCompressionContext referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::Init(void)" (?Init@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_freeCompressionContext referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::~LZ4Compressor(void)" (??1LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressBegin referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressBound referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressUpdate referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_flush referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::FlushResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::Flush(__int64,unsigned char *)" (?Flush@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UFlushResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_compressEnd referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::EndResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Compressor::End(__int64,unsigned char *)" (?End@LZ4Compressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UEndResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_createDecompressionContext referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::LZ4Decompressor::Init(void)" (?Init@LZ4Decompressor@?A0x9d88031e@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_freeDecompressionContext referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::LZ4Decompressor::~LZ4Decompressor(void)" (??1LZ4Decompressor@?A0x9d88031e@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_decompress referenced in function "public: virtual class arrow::Result<struct arrow::util::Decompressor::DecompressResult> __cdecl arrow::util::internal::`anonymous namespace'::LZ4Decompressor::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@LZ4Decompressor@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@UDecompressResult@Decompressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4F_resetDecompressionContext referenced in function "public: virtual class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::LZ4Decompressor::Reset(void)" (?Reset@LZ4Decompressor@?A0x9d88031e@internal@util@arrow@@UEAA?AVStatus@5@XZ)
arrow.lib(compression_lz4.cc.obj) : error LNK2019: unresolved external symbol LZ4_compress_HC referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::Lz4Codec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@Lz4Codec@?A0x9d88031e@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_compress referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCodec::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@ZSTDCodec@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_decompress referenced in function "public: virtual class arrow::Result<__int64> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCodec::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@ZSTDCodec@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@_J@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_compressBound referenced in function "public: virtual __int64 __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCodec::MaxCompressedLen(__int64,unsigned char const *)" (?MaxCompressedLen@ZSTDCodec@?A0xef6b3a1f@internal@util@arrow@@UEAA_J_JPEBE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_isError referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::ZSTDDecompressor::Init(void)" (?Init@ZSTDDecompressor@?A0xef6b3a1f@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_getErrorName referenced in function "class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::ZSTDError(unsigned __int64,char const *)" (?ZSTDError@?A0xef6b3a1f@internal@util@arrow@@YA?AVStatus@4@_KPEBD@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_minCLevel referenced in function "public: virtual int __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCodec::minimum_compression_level(void)const " (?minimum_compression_level@ZSTDCodec@?A0xef6b3a1f@internal@util@arrow@@UEBAHXZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_maxCLevel referenced in function "public: virtual int __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCodec::maximum_compression_level(void)const " (?maximum_compression_level@ZSTDCodec@?A0xef6b3a1f@internal@util@arrow@@UEBAHXZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_createCStream referenced in function "public: __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::ZSTDCompressor(int)" (??0ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@QEAA@H@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_freeCStream referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::~ZSTDCompressor(void)" (??1ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_initCStream referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::Init(void)" (?Init@ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_compressStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::CompressResult> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::Compress(__int64,unsigned char const *,__int64,unsigned char *)" (?Compress@ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@UCompressResult@Compressor@util@arrow@@@5@_JPEBE0PEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_flushStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::FlushResult> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::Flush(__int64,unsigned char *)" (?Flush@ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@UFlushResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_endStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Compressor::EndResult> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDCompressor::End(__int64,unsigned char *)" (?End@ZSTDCompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@UEndResult@Compressor@util@arrow@@@5@_JPEAE@Z)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_createDStream referenced in function "public: __cdecl arrow::util::internal::`anonymous namespace'::ZSTDDecompressor::ZSTDDecompressor(void)" (??0ZSTDDecompressor@?A0xef6b3a1f@internal@util@arrow@@QEAA@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_freeDStream referenced in function "public: virtual __cdecl arrow::util::internal::`anonymous namespace'::ZSTDDecompressor::~ZSTDDecompressor(void)" (??1ZSTDDecompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_initDStream referenced in function "public: class arrow::Status __cdecl arrow::util::internal::`anonymous namespace'::ZSTDDecompressor::Init(void)" (?Init@ZSTDDecompressor@?A0xef6b3a1f@internal@util@arrow@@QEAA?AVStatus@5@XZ)
arrow.lib(compression_zstd.cc.obj) : error LNK2019: unresolved external symbol ZSTD_decompressStream referenced in function "public: virtual class arrow::Result<struct arrow::util::Decompressor::DecompressResult> __cdecl arrow::util::internal::`anonymous namespace'::ZSTDDecompressor::Decompress(__int64,unsigned char const *,__int64,unsigned char *)" (?Decompress@ZSTDDecompressor@?A0xef6b3a1f@internal@util@arrow@@UEAA?AV?$Result@UDecompressResult@Decompressor@util@arrow@@@5@_JPEBE0PEAE@Z)

@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Jun 24, 2023
@Cheney-W Cheney-W removed the Stale label Jun 29, 2023
@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Jul 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able Stale
Projects
None yet
Development

No branches or pull requests

2 participants