Code Monkey home page Code Monkey logo

Comments (6)

lionpeloux avatar lionpeloux commented on June 30, 2024 1

So there's a trick I've just tested. It works fine but doesn't seem satisfying regarding the security of the OS. You can Disable System Integrity Protection as explained here

from atom-julia-client.

lionpeloux avatar lionpeloux commented on June 30, 2024 1

Hello Varanas,

Yeah, I did write that ... but that was working on Yosemite, not on Capitan, because :

"El Capitan" has a "security" feature that
prevents passing DYLD_LIBRARY_PATH to child processes. Somehow, that
variable is stripped from the environment.

So even if I launch Atom from the terminal, the DYLD_LIBRARY_PATH is stripped from the environment.

I'll try your proposal and get back to you.

Thanks,
Lionel

from atom-julia-client.

pfitzseb avatar pfitzseb commented on June 30, 2024

You did write that you

effectively get all the env variables when launching atom with the atom command from the terminal.

And that should be the case, since afaict no child processes are spawned except possibly when starting from the shortcut.

So can't you just write write yourself a script that starts a terminal and start atom from that or something?

Also: Have you tried what I suggested in the other issue?

What you could also try as a workaround is setting Libdl.DL_LOAD_PATH because dlopen should use that for looking up libraries first...

from atom-julia-client.

pfitzseb avatar pfitzseb commented on June 30, 2024

@lionpeloux Did you resolve this issue? I'd like to add the workaround to the docs for Juno, if it works.

from atom-julia-client.

MikeInnes avatar MikeInnes commented on June 30, 2024

Does it work to set the environment variable in ~/.juliarc.jl?

from atom-julia-client.

yeesian avatar yeesian commented on June 30, 2024

I just ran into this myself.

Does it work to set the environment variable in ~/.juliarc.jl?

Just setting ENV["DYLD_LIBRARY_PATH"] alone doesn't (although it does get reflected in the Atom julia console). But the suggestion to append to Libdl.DL_LOAD_PATH works.

from atom-julia-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.