# Package Compiler doesn't download required artifact

**URL:** <https://discourse.julialang.org/t/package-compiler-doesnt-download-required-artifact/94967>\
**Category:** General Usage\
**Tags:** package-compiler\
**Created:** [February 21, 2023, 2:57pm UTC](https://discourse.julialang.org/t/package-compiler-doesnt-download-required-artifact/94967 "2023-02-21T14:57:13Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![haikal-arif](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/haikal-arif/32/47086_2.png) [@haikal-arif](https://discourse.julialang.org/u/haikal-arif)\
**Post date:** [February 22, 2023, 12:30am UTC](https://discourse.julialang.org/t/package-compiler-doesnt-download-required-artifact/94967/6 "2023-02-22T00:30:51Z")

</div>

> Are you sure that PackageCompiler can find that file on your system? And if so, what are its contents?

It contains what should be compiled for the sysimage. It contains a lot precompile statements  
like some of these

```julia
precompile(Tuple{Type{Base.Multimedia.TextDisplay}, Base.PipeEndpoint})
precompile(Tuple{Type{REPL.Terminals.TTYTerminal}, String, Base.PipeEndpoint, Base.PipeEndpoint, Base.PipeEndpoint})
precompile(Tuple{typeof(Base.something), Nothing, Base.PipeEndpoint})
precompile(Tuple{typeof(Pkg.API.instantiate)})
precompile(Tuple{typeof(Base.deepcopy_internal), Any, Base.IdDict{Any, Any}})
precompile(Tuple{typeof(Core.Compiler.eltype), Type{Array{UInt64, 1}}})
precompile(Tuple{typeof(Base.deepcopy_internal), Tuple{UInt64}, Base.IdDict{Any, Any}})

```

to generate it I followed direction from this post

> [@Neovim Native LSP with julials using PackageCompiled LanguageServer](https://discourse.julialang.org/t/neovim-native-lsp-with-julials-using-packagecompiled-languageserver/57659):
>
> I have successfully used a custom sysimage for LanguageServer for julials for neovim native lsp. The first thing I did is to create a precompilation statements file before I created the sysimage. Here is the following lsp config inside my init.vim for neovim to record the precompilation statements: " LSP lua \<\< EOF require'lspconfig'.rust\_analyzer.setup({on\_attach=require'completion'.on\_attach}) require'lspconfig'.julials.setup({ on\_new\_config = function(new\_config,new\_root\_dir) ser…

I’m sure PackageCompiler can found it. I have tried making a symbolic link for  
`~/.julia/artifacts/fdff308295487f361ef6e8dc2d27f5abe8a6eee9/mingw64/bin` to point at my msys2 installation that has g++ and it manages to build the image. But when i use it Julia can’t load it.

---

_[View the full topic](https://discourse.julialang.org/t/package-compiler-doesnt-download-required-artifact/94967)._
