This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients jonash, pitrou, theller
Date 2011-02-26.09:40:35
SpamBayes Score 1.3079229e-07
Marked as misclassified No
Message-id <1298713235.98.0.995755035423.issue11258@psf.upfronthosting.co.za>
In-reply-to
Content
Reopening and reverted the commit in r88640. The patch changes behaviour by turning the previous unrooted filename ('libc.so.6') into a full path ('/lib64/libc.so.6'). This breaks builds where multiple versions of a library are available and only one is loadable, e.g. 32-bit builds on 64-bit machines:

======================================================================
ERROR: test_load (ctypes.test.test_loading.LoaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home2/buildbot2/slave/hg-3.x.loewis-parallel/build/Lib/ctypes/test/test_loading.py", line 26, in test_load
    CDLL(libc_name)
  File "/home2/buildbot2/slave/hg-3.x.loewis-parallel/build/Lib/ctypes/__init__.py", line 340, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /lib64/libc.so.6: wrong ELF class: ELFCLASS64
History
Date User Action Args
2011-02-26 09:40:36pitrousetrecipients: + pitrou, theller, jonash
2011-02-26 09:40:35pitrousetmessageid: <1298713235.98.0.995755035423.issue11258@psf.upfronthosting.co.za>
2011-02-26 09:40:35pitroulinkissue11258 messages
2011-02-26 09:40:35pitroucreate