Skip to content

fix: Ensure julia lib is always loaded as global #186

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

Merged
merged 2 commits into from
Jun 18, 2022
Merged

Conversation

gnuille
Copy link
Contributor

@gnuille gnuille commented Jun 17, 2022

From issue #175 some users have noticed that there is an issue with running the Juliacall python module on Apple.

Investigating the issue was found that the julia library load was causing the error.

From my report and thanks to the Julia community they pointed out that the library should be loaded in RTLD_GLOBAL mode (JuliaLang/julia#45709)

@MilesCranmer
Copy link
Contributor

Confirmed that this fixes juliacall on my M1 mac! Amazing work @gnuille.

@cjdoris cjdoris merged commit 1615610 into JuliaPy:main Jun 18, 2022
@cjdoris
Copy link
Collaborator

cjdoris commented Jun 18, 2022

This doesn't appear to break anything on supported platforms. Great that it was such a simple fix to get it working on M1. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants