[ python-Bugs-1464506 ] ctypes testsuite hardcodes libc soname
SourceForge.net
noreply at sourceforge.net
Thu Apr 6 14:25:58 CEST 2006
Bugs item #1464506, was opened at 2006-04-04 23:14
Message generated for change (Comment added) made by theller
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: Closed
>Resolution: Duplicate
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: Thomas Heller (theller)
Date: 2006-04-06 14:25
Message:
Logged In: YES
user_id=11105
This is fixed now.
----------------------------------------------------------------------
Comment By: Matthias Klose (doko)
Date: 2006-04-06 00:46
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: Thomas Heller (theller)
Date: 2006-04-05 16:06
Message:
Logged In: YES
user_id=11105
Actually the bug in in the ctypes test module. nnorwitz's
change helps loading libraries, but not to determine which
libraries should by loaded. doko's method allows to fix this.
I'll commit a patch soon, thanks.
----------------------------------------------------------------------
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