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

SourceForge.net noreply at sourceforge.net
Wed Apr 5 11:02:48 CEST 2006


Bugs item #1464506, was opened at 2006-04-04 23:14
Message generated for change (Comment added) made by doko
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


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

>Comment By: Matthias Klose (doko)
Date: 2006-04-05 11:02

Message:
Logged In: YES 
user_id=60903

no, please see
http://www.python.org/dev/buildbot/trunk/ia64%20Debian%20unstable%20trunk/builds/11/step-test/0
(that's the last run of current trunk, AFAIK)


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

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-04-05 06:38

Message:
Logged In: YES 
user_id=33168

Heh, I added ldd support in ctypes/_loader.py _findLib_ld. 
Does that address this issue?  Or perhaps at least partially
address?  It looks like in the current buildbot, this part
of ctypes isn't failing.  Maybe this can be closed?

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

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