A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/066309.html below:

[Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther)

[Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther) [Python-Dev] test_ctypes failure on Mac OS X/PowerPC 10.3.9(Panther)Ronald Oussoren ronaldoussoren at mac.com
Wed Jun 21 10:01:21 CEST 2006
 
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, RTLD_LOCAL 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 RTLD_LOCAL. 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-RTLD_LOCAL/main.c. 
>> 
>
>What does this mean?  Would it work with RTLD_GLOBAL, 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4