-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
ERROR: open: permission denied (EACCES) #16
Comments
I think this should be resolved! Please reopen if not! |
Still happens in my case if I pass in |
I'm experiencing the same issue with Julia 1.3.0 when running this example in the repo docs - any advice?
|
Investigating a bit more, it seems that Putting a |
(@SimonDanisch - I hope you don't mind reopening the issue) |
I now see this big warning in the docs that you should use binaries downloaded from the julia website. Presumably, it was previously trying to copy my whole It succeeded without any errors after removing my system-install and downloading a fresh v1.4.0 from the julia website. Not sure if there's something actionable here, or if this issue should just remain closed. Thanks, |
Even the official binaries do not help if they are placed in /usr/lib. This happens when julia-bin is used on Arch. I think juliaup should resolve this. |
The offending line is the PackageCompiler.jl/src/PackageCompiler.jl Lines 1021 to 1027 in c0e6855
when julia_libdir() == "/usr/lib" .
Can we just copy |
@feanor12 do you have a |
If I install julia-bin I have a Files in /usr/lib/julia
Files in /usr/lib
|
I get similar problems under Manjaro Linux 22, Julia 1.8.2 installed via the integrated package manager.
The julia> PackageCompiler.julia_libdir()
"/usr/lib"
julia> Libdl.dlpath("libjulia")
"/usr/bin/../lib/libjulia.so.1"
julia> dirname(abspath(Libdl.dlpath("libjulia")))
"/usr/lib" |
If `julia_libdir() == "/usr/lib"` then it will attempt to bundle the whole directory into the app. Fixes #16.
I installed Julia in
/usr/local
, so the following fails.PackageCompiler.compile_package("TrivialPackage", force = false, reuse = true)
Julia Version 0.6.2
Linux (x86_64-linux-gnu)
The text was updated successfully, but these errors were encountered: