Optional editline dependencies [Was Re: r6993 - in trunk/BOOK: . introduction/welcome postlfs/shells]

Alexander E. Patrakov patrakov at ums.usu.ru
Wed Aug 1 06:54:26 PDT 2007


Randy McMurchy wrote:
> Bruce Dubbs wrote:
>
>   
>> I think the policy of omitting editline is valid, but if we do decide to
>> add it as optional dependencies, we should also add a caution that in
>> some cases editline conflicts with readline (which is installed in LFS).
>>     
>
> I would prefer if we don't list libedit as a dependency. libedit
> is really designed for BSD systems. And as has been mentioned
> elsewhere, breaks other packages (some of them very badly).
>   

But Debian uses it where appropriate:

patrakov at home:~$ ldd /usr/bin/sftp
        libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb7f33000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 
(0xb7df2000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7ded000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7dd8000)
        libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb7dc0000)
        libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb7d92000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7d6a000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7ce3000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7cbd000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7cba000)
        libedit.so.2 => /usr/lib/libedit.so.2 (0xb7c9f000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7c5c000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7b15000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7b11000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7b08000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7b05000)
        /lib/ld-linux.so.2 (0xb7f54000)

So, why not list it where it works (post-6.3), not list it where it is 
untested, and add a note where it breaks stuff?

-- 
Alexander E. Patrakov



More information about the blfs-dev mailing list