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

Python, PyOpenGL and macOS BigSur #55

Open
0r31 opened this issue Nov 19, 2020 · 0 comments
Open

Python, PyOpenGL and macOS BigSur #55

0r31 opened this issue Nov 19, 2020 · 0 comments

Comments

@0r31
Copy link

0r31 commented Nov 19, 2020

Hi @mcfletch ,

According to the macOS BigSur release note :

New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)

This is handled by python devs (all the stuff regarding BigSur support is listed here).
Unfortunately, it seems it will be supported for python 3.8+.

At the PyOpenGL level, this line won't work anymore if using python 3.8-.

I've made a quick and dirty fix for my needs.

Are you interested in a more generic fix? If so, i can provide you a PR.

Regards,
Orel

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