Meador Inge <mead...@gmail.com> added the comment:

'find_library' itself actually loads no libraries.  I suspect what happened was 
that the following code in the 'uuid' module coupled with the 'find_library' 
bug caused 'liblttng-ust-libc.so' to be loaded:

    for libname in ['uuid', 'c']:
        try:
            lib = ctypes.CDLL(ctypes.util.find_library(libname))
        except:
            continue
        if hasattr(lib, 'uuid_generate_random'):
            _uuid_generate_random = lib.uuid_generate_random
        if hasattr(lib, 'uuid_generate_time'):
            _uuid_generate_time = lib.uuid_generate_time

This issue was fixed in 3.3 as a part of the optimization done in issue11258. I 
can still reproduce the problem in 2.7 and 3.2.

I am just going to backport the 3.3 regex to 2.7 and 3.2.  This is not an issue 
for the '_findLib_gcc' regex because the GCC output has a different format.  
'_findLib_ldconfig' is never actually called so I removed it.  Patch attached.

----------
keywords: +patch
stage: needs patch -> patch review
versions:  -Python 3.3
Added file: http://bugs.python.org/file24507/issue13979-v0.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13979>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to