[Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther) (original) (raw)
Ronald Oussoren ronaldoussoren at mac.com
Wed Jun 21 10:01:21 CEST 2006
- Previous message: [Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9 (Panther)
- Next message: [Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday, June 21, 2006, at 09:43AM, Thomas Heller <theller at python.net> wrote:
Ronald Oussoren schrieb:
will have a look.
It is a platform bug, RTLDLOCAL doesn't work on 10.3. The following C snippet fails with the same error as ctypes: FAIL: dlcompat: unable to open this file with RTLDLOCAL. This seems to be confirmed by this sourcet test file from darwin: http://darwinsource.opendarwin.org/10.4.1/dyld-43/unit-tests/test-cases/dlopen-RTLDLOCAL/main.c. What does this mean? Would it work with RTLDGLOBAL, is there any other way to repair it, or does loading dylibs not work at all on Panther?
Using RTLD_GLOBAL does work. This should also be fairly save as RTLD_GLOBAL seems to be the same as RTLD_LOCAL when using two-level namespaces (which is the default on OSX and used by Python).
Ronald
- Previous message: [Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9 (Panther)
- Next message: [Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]