[ python-Bugs-1464506 ] ctypes testsuite hardcodes libc soname

SourceForge.net noreply at sourceforge.net
Tue Apr 4 23:14:11 CEST 2006


Bugs item #1464506, was opened at 2006-04-04 23:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1464506&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Thomas Heller (theller)
Summary: ctypes testsuite hardcodes libc soname

Initial Comment:
on Debian alpha-linux and Debian/Ubuntu hppa-linux,
libc's soname is libc.so.6.1. A more portable way to
find about the libc soname might be to check ldd on the
python executable (or any other executable)

$ ldd /bin/ls | awk '/libc\.so/ {print $3}'
/lib/tls/libc.so.6.1

$ objdump -p /bin/ls | awk '/NEEDED *libc\.so/ {print $2}'
libc.so.6.1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1464506&group_id=5470


More information about the Python-bugs-list mailing list