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

libgobject-2.0.so.0: cannot open shared object file #127

Open
schlichtanders opened this issue Apr 17, 2024 · 1 comment
Open

libgobject-2.0.so.0: cannot open shared object file #127

schlichtanders opened this issue Apr 17, 2024 · 1 comment

Comments

@schlichtanders
Copy link

Just tried to install Electron.jl and it fails already on Application()

julia> using Electron

julia> app = Application()
/home/myhome/.julia/artifacts/cae80dc5ebd42950807d603cea93d970432b956d/electron: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

It hangs now forever and does not come back to the julia REPL. When interrupted, I get the following stacktrace

^CERROR: InterruptException:
Stacktrace:
 [1] poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
   @ Base ./task.jl:985
 [2] wait()
   @ Base ./task.jl:994
 [3] wait(c::Base.GenericCondition{Base.Threads.SpinLock}; first::Bool)
   @ Base ./condition.jl:130
 [4] wait
   @ ./condition.jl:125 [inlined]
 [5] accept(server::Sockets.PipeServer, client::Base.PipeEndpoint)
   @ Sockets ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Sockets/src/Sockets.jl:696
 [6] accept
   @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Sockets/src/PipeServer.jl:29 [inlined]
 [7] Application(; mainjs::String, additional_electron_args::Vector{String})
   @ Electron ~/.julia/packages/Electron/LXyZ0/src/Electron.jl:163
 [8] Application()
   @ Electron ~/.julia/packages/Electron/LXyZ0/src/Electron.jl:133
 [9] top-level scope
   @ REPL[2]:1

I am running on a relatively specific linux - nixos - however haven't experienced any issue so far with julia artifacts. Hence I am surprised by this behaviour and don't know how to fix it.

@schlichtanders
Copy link
Author

@davidanthoff do you know why this shared object file is not part of the artifact?

it would be great if Electron.jl is self-contained (the README gave me the impression that this is a goal of Electron.jl)

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