Error building on windows `Can not create symbolic link : A required privilege is not held by the client.`
Closed this issue · 1 comments
musm commented
Why do I need administrative privileges to build ImageMagick ?
Error: Error building `ImageMagick`:
│ ┌ Warning: Could not load startup packages.
│ └ @ Main C:\Users\Mus\.julia\config\startup.jl:20
│ ERROR: LoadError: LoadError: Could not unpack C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr\downloads\libpng.v1.6.31.x86_64-w64-mingw32.tar.gz into C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] #unpack#98(::Bool, ::Function, ::String, ::String) at C:\Users\Mus\.julia\packages\BinaryProvider\UTYxu\src\PlatformEngines.jl:600
│ [3] macro expansion at .\none:0 [inlined]
│ [4] #install#115(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at C:\Users\Mus\.julia\packages\BinaryProvider\UTYxu\src\Prefix.jl:358
│ [5] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at .\none:0
│ [6] top-level scope at C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\build_libpng.v1.0.0.jl:36
│ [7] include at .\boot.jl:317 [inlined]
│ [8] top-level scope at C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\build.jl:15 [inlined]
│ [9] top-level scope at .\none:0
│ [10] include at .\boot.jl:317 [inlined]
│ [11] include_relative(::Module, ::String) at .\loading.jl:1038
│ [12] include(::Module, ::String) at .\sysimg.jl:29
│ [13] include(::String) at .\client.jl:388
│ [14] top-level scope at none:0
│ in expression starting at C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\build_libpng.v1.0.0.jl:32
│ in expression starting at C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\build.jl:11
│
│ 7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
│
│
│ Extracting archive:
│ ERROR: Can not create symbolic link : A required privilege is not held by the client. : C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr\bin\libpng-config
│ --
│ Path =
│ Type = tar
│ Code Page = UTF-8
│
│ ERROR: Can not create symbolic link : A required privilege is not held by the client. : C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr\lib\libpng.dll.a
│ ERROR: Can not create symbolic link : A required privilege is not held by the client. : C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr\lib\pkgconfig\libpng.pc
│ ERROR: Can not create symbolic link : A required privilege is not held by the client. : C:\Users\Mus\.julia\packages\ImageMagick\d5KBL\deps\usr\lib\libpng.a
│
│ Sub items Errors: 4
│
│ Archives with Errors: 1
│
│ Sub items Errors: 4
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068
SimonDanisch commented
duplication of #133