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

dlopen/dlcose change #397

Open
daviehh opened this issue Apr 1, 2019 · 3 comments
Open

dlopen/dlcose change #397

daviehh opened this issue Apr 1, 2019 · 3 comments

Comments

@daviehh
Copy link

daviehh commented Apr 1, 2019

Related: #396

also reported JuliaGraphics/Cairo.jl#271 and JuliaLang/julia#31517

According to the glib upstream https://gitlab.gnome.org/GNOME/pango/issues/363, dlopen followed by dlclose is not supported and it's surprising if it worked before.

Should changes be made to BinDeps.jl?

  • do not use dlclose() at all: maybe using h = nothing instead (is it safe? shall we also use GC.gc()?)

    Libdl.dlclose(h)

  • or, test if file exist at path; is so, use addprocs() and remotecall() , then rmprocs() to execute in new process each time?

@cormullion
Copy link

Isn't BinDeps obsolescent?

The old world of BinDeps.jl fades slowly into the long, dark sleep of forgotten heroes.

Elliot in 2018

@jonathanBieler
Copy link

BinDeps is still used by a lot of packages, it needs to be maintained, at least for a while.

It looks like the build command is ran in a separate process, so maybe not closing the libraries isn't an issue. We could try it out.

@daviehh
Copy link
Author

daviehh commented Apr 3, 2019

@jonathanBieler not closing libraries for cairo by using: daviehh/Cairo.jl@1f59845

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

3 participants