[Patches] [ python-Patches-415629 ] setup.py: readline req. ncurses (SuSE)
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 06 Jun 2001 22:45:43 -0700
Patches item #415629, was updated on 2001-04-12 02:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=415629&group_id=5470
Category: Build
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: setup.py: readline req. ncurses (SuSE)
Initial Comment:
Python 2.1b2 on SuSE Linux 7.0:
The readline extension module must be linked with
libncurses, else 'import readline' fails because of
unresolved symbols.
(libtermcap is only installed for libc5 compatibility
in SuSE 7.0)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2001-06-06 22:45
Message:
Logged In: YES
user_id=21627
This patch is not necessary. If readline.so is a shared
library that relies on libncurses, it should itself be
linked with libncurses; this is indeed the case on SuSE
7.2:
martin@mira:~ > ldd /usr/lib/libreadline.so
libncurses.so.5 => /lib/libncurses.so.5
libc.so.6 => /lib/libc.so.6
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
Now, if the libreadline.so on SuSE 7.0 does not link
itself with libncurses, that's a bug in the readline
package.
OTOH, linking libncurses might be the *wrong* thing, since
on some systems, libcurses might be needed even if
libncurses is present (e.g. some Solaris installations).
If some system requires a special build procedure, the
administrator must build the module using Modules/Setup,
so that setup.py will not attempt to build it.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=415629&group_id=5470