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

IOError: symlink("libLLVM-14jl.so", "App/lib/julia/libLLVM.so"): operation not supported on socket (ENOTSUP) #908

Open
13299118606 opened this issue Dec 20, 2023 · 0 comments

Comments

@13299118606
Copy link

versioninfo()
Julia Version 1.9.4
Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
   Official https://julialang.org/ release
Platform Info:
   OS: Linux (x86_64-linux-gnu)
   CPU: 8 × 12th Gen Intel(R) Core(TM) i7-12700
   WORD_SIZE: 64
   LIBM: libopenlibm
   LLVM: libLLVM-14.0.6 (ORCJIT, alderlake)
   Threads: 1 on 8 virtual cores
Environment:
   LD_LIBRARY_PATH = /home1/users/madagascar_root/lib:/home1/users/madagascar_root/lib
   JULIA_LOAD_PATH = /home1/users/madagascar_root/lib:/home1/users/madagascar_root/lib::

The source of the problem, I want to transplant my program and install it into linux.
Windows packaging can only run in other windows, so I copied my package to the Linux virtual machine and julia ran successfully, but this error occurred when I packaged it. I don't know what the problem is?
Is the location where I installed it in linux wrong?

PackageCompiler v2.1.16

julia> create_app("GLMkieApp_DRR3d","GLMkieApp_DRR3d1901",include_lazy_artifacts=true,force=true)
PackageCompiler: bundled libraries:
   ├── Base:
   │ ├── libLLVM-14jl.so - 83.967 MiB
ERROR: IOError: symlink("libLLVM-14jl.so", "GLMkieApp_DRR3d1901/lib/julia/libLLVM.so"): operation not supported on socket (ENOTSUP)
Stacktrace:
  [1]uv_error
    @ ./libuv.jl:100 [inlined]
  [2] symlink(target::String, link::String; dir_target::Bool)
    @Base.Filesystem ./file.jl:1108
  [3] symlink
    @ ./file.jl:1070 [inlined]
  [4] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
    @Base.Filesystem ./file.jl:382
  [5]cp
    @ ./file.jl:378 [inlined]
  [6] bundle_julia_libraries(dest_dir::String, stdlibs::Vector{String})
    @PackageCompiler ~/.julia/packages/PackageCompiler/1fx6C/src/PackageCompiler.jl:1318
  [7] create_app(package_dir::String, app_dir::String; executables::Nothing, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, force::Bool , c_driver_program::String, cpu_target::String, include_lazy_artifacts::Bool, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, include_preferences::Bool, script::Nothing)
    @PackageCompiler ~/.julia/packages/PackageCompiler/1fx6C/src/PackageCompiler.jl:850
  [8] top-level scope
    @ REPL[4]:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant