tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Python ctypes/util.py: netbsd is missing



I noticed[1] that in $PREFIX/lib/python*/ctypes/util.py there is a check
for various OSes (such as freebsd and dragonfly), but NetBSD seems to be
missing. Should it not be included with the *bsd ones?

[1] I noticed when I tried to run the latest version of fs-uae-arcade
from the wip/fs-uae-launcher package. It fails like this, and I
suspected it might have something to do with this.

Unhandled exception detected in thread MainThread:
  ImportError:glx.py:GL:20

Traceback (most recent call last):
  File "/usr/pkg/share/fs-uae-launcher/OpenGL/platform/glx.py", line 17, in GL
    mode=ctypes.RTLD_GLOBAL
  File "/usr/pkg/share/fs-uae-launcher/OpenGL/platform/ctypesloader.py", line 45, in loadLibrary
    return dllType( name, mode )
  File "/usr/pkg/lib/python3.5/ctypes/__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: ('Shared object "GL" not found', 'GL', None)

However, temporarily editing the util.py file to include netbsd with
freebsd didn't solve this immediate problem, so there is more to that;
but that seems a separate matter then to me.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index