[issue19317] ctypes.util.find_library should examine binary's RPATH on Solaris
Maciej Bliziński
report at bugs.python.org
Sun Oct 20 17:31:38 CEST 2013
New submission from Maciej Bliziński:
On Solaris, when you want to link shared libraries from custom directories, you most often don't modify the system search path, but instead set RPATH in your binaries. For example, OpenCSW packages Python into /opt/csw, and sets Python executable's RPATH to /opt/csw/lib. Therefore, dynamically opening shared libraries will by default look into /opt/csw/lib first, and find_library should do the same. I wrote a sample implementation.
----------
components: ctypes
files: find_library_looks_into_rpath.patch
keywords: patch
messages: 200593
nosy: automatthias
priority: normal
severity: normal
status: open
title: ctypes.util.find_library should examine binary's RPATH on Solaris
type: enhancement
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file32255/find_library_looks_into_rpath.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19317>
_______________________________________
More information about the Python-bugs-list
mailing list