Red Hat Bugzilla – Bug 197164
libss can't use readline due to unresolved symbols
Last modified: 2007-11-30 17:11:36 EST
Description of problem:
When libss attempts to dlopen libreadline, it frequently fails because neither
the calling application nor libreadline is linked with either libtermcap or
libncurses, so the undefined symbols can't all be resolved.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run 'debugfs'.
2. Type any invalid command.
3. Press the 'Up' key.
You see a control sequence
You see the invalid command you typed
This also affects various apps in the krb5 package, which also uses libss (see
bug #197044), but I figured it'd be simpler to fix it in the e2fsprogs package.
Created attachment 131705 [details]
one possible way to "fix" it, also includes the change for bug #197160
Well, FWIW, the testcase works now :)
[root@newbox ~]# debugfs /dev/sda1
debugfs 1.40.2 (12-Jul-2007)
debugfs: Unknown request "asdfasdf". Type "?" for a request list.
looking into what changed.
Looks like libreadline is linking directly with libtinfo now, apparently since
readline-5.2-3. So we can probably close this. Thanks!
Will do, thanks :)