mongoc库build错误

错误如下,两台win10julia1.5都这个错误,centos7安装正常,不知道是什么问题,这个错误也没太看懂
——————————————————————————————————————————

(@v1.5) pkg> build Mongoc
Building Mongoc → C:\Users\Administrator\.julia\packages\Mongoc\OxMdy\deps\build.log
┌ Error: Error building Mongoc, showing the last 100 of log:
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-gridfs-file-list.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-gridfs-file-page.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-gridfs-file.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-gridfs.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-handshake.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-host-list.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-index.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-init.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-iovec.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-log.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-macros.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-matcher.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-opcode.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-prelude.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-rand.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-read-concern.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-read-prefs.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-server-description.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-socket.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-ssl.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-buffered.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-file.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-gridfs.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-socket.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-tls-libressl.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-tls-openssl.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream-tls.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-stream.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-topology-description.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-uri.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-version-functions.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-version.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc-write-concern.h removed
│ [ Info: include\libmongoc-1.0\mongoc\mongoc.h removed
│ [ Info: Culling empty directory include\libmongoc-1.0\mongoc
│ [ Info: include\libmongoc-1.0\mongoc.h removed
│ [ Info: Culling empty directory include\libmongoc-1.0
│ [ Info: lib\bson-1.0.lib removed
│ [ Info: lib\bson-static-1.0.lib removed
│ [ Info: lib\cmake\libbson-1.0\libbson-1.0-config-version.cmake removed
│ [ Info: lib\cmake\libbson-1.0\libbson-1.0-config.cmake removed
│ [ Info: Culling empty directory lib\cmake\libbson-1.0
│ [ Info: lib\cmake\libbson-static-1.0\libbson-static-1.0-config-version.cmake removed
│ [ Info: lib\cmake\libbson-static-1.0\libbson-static-1.0-config.cmake removed
│ [ Info: Culling empty directory lib\cmake\libbson-static-1.0
│ [ Info: lib\cmake\libmongoc-1.0\libmongoc-1.0-config-version.cmake removed
│ [ Info: lib\cmake\libmongoc-1.0\libmongoc-1.0-config.cmake removed
│ [ Info: Culling empty directory lib\cmake\libmongoc-1.0
│ [ Info: lib\cmake\libmongoc-static-1.0\libmongoc-static-1.0-config-version.cmake removed
│ [ Info: lib\cmake\libmongoc-static-1.0\libmongoc-static-1.0-config.cmake removed
│ [ Info: Culling empty directory lib\cmake\libmongoc-static-1.0
│ [ Info: lib\mongoc-1.0.lib removed
│ [ Info: lib\mongoc-static-1.0.lib removed
│ [ Info: lib\pkgconfig\libbson-1.0.pc removed
│ [ Info: lib\pkgconfig\libbson-static-1.0.pc removed
│ [ Info: lib\pkgconfig\libmongoc-1.0.pc removed
│ [ Info: lib\pkgconfig\libmongoc-ssl-1.0.pc removed
│ [ Info: lib\pkgconfig\libmongoc-static-1.0.pc removed
│ [ Info: Culling empty directory lib\pkgconfig
│ [ Info: share\mongo-c-driver\COPYING removed
│ [ Info: share\mongo-c-driver\NEWS removed
│ [ Info: share\mongo-c-driver\README.rst removed
│ [ Info: share\mongo-c-driver\THIRD_PARTY_NOTICES removed
│ [ Info: share\mongo-c-driver\uninstall.cmd removed
│ [ Info: Culling empty directory share\mongo-c-driver
│ [ Info: manifests\mongo-c-driver-builder.v1.14.0.x86_64-windows.list removed
│ [ Info: Found a valid dl path concrt140.dll while looking for libmongoc
│ [ Info: Found a valid dl path libbson-1.0.dll while looking for libmongoc
│ [ Info: Found a valid dl path libmongoc-1.0.dll while looking for libmongoc
│ [ Info: C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\usr\bin\libmongoc-1.0.dll matches our search criteria of libmongoc
│ ┌ Info: C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\usr\bin\libmongoc-1.0.dll cannot be dlopen’ed
│ │ dlopen_result =
│ │ could not load library “C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\usr\bin\libmongoc-1.0.dll”
│ └ The specified module could not be found.
│ [ Info: Found a valid dl path msvcp140.dll while looking for libmongoc
│ [ Info: Found a valid dl path vcruntime140.dll while looking for libmongoc
│ [ Info: Could not locate libmongoc inside C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\usr\bin
│ ERROR: LoadError: LibraryProduct(nothing, [“libmongoc”], :libmongoc, “Prefix(C:\Users\Administrator\.julia\packages\Mongoc\OxMdy\deps\usr)”) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at C:\Users\Administrator.julia\packages\BinaryProvider\GeAtj\src\Products.jl:419
│ [3] top-level scope at C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\build.jl:50
│ [4] include(::String) at .\client.jl:457
│ [5] top-level scope at none:5
│ in expression starting at C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\build.jl:50

│ 7-Zip 19.00 (x64) : Copyright © 1999-2018 Igor Pavlov : 2019-02-21


│ Extracting archive:
│ –
│ Path =
│ Type = tar
│ Code Page = UTF-8

│ Everything is Ok

│ Folders: 15
│ Files: 103
│ Size: 9007447
│ Compressed: 62976

│ Full log at C:\Users\Administrator.julia\packages\Mongoc\OxMdy\deps\build.log
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:949

试试

i found that libmongoc-1.0.dll cannot be loaded when building the package.
ERROR: LoadError: LibraryProduct(nothing, ["libmongoc"], :libmongoc, "Prefix(C:\\Users\\?????\\.julia\\packages\\Mongoc\\DdY9i\\deps\\usr)") is not satisfied, cannot generate deps.jl!
This is because some dlls are missing.
copy these to [Mongoc package directory]/deps/usr/bin (alongside to libmongoc-1.0.dll):

  • libzstd.dll
  • ucrtbased.dll
  • vcruntime140d.dll

and ]build Mongoc again.

—— https://github.com/felipenoris/Mongoc.jl/issues/44#issuecomment-548471785

刚上。这个错误里提到得dll文件我这个deps里都有得,你发这个issues里提到得这些,我看报错信息里并没有提到,不知道添加了能好使么,我一会试一下

京ICP备17009874号-2