[SOLVED] Re: Dynamic linker "readline and ncurses"

bruce bushby bruce.bushby at gmail.com
Thu Mar 24 00:10:24 UTC 2011


Hi

Just wanted to confirm to the uClibc list that the linking issue Joakim
mentioned and the sed Mike suggested does indeed work.

The results:
[root at dlxarm01 buildroot]# readelf -d
./output/target/usr/lib/libreadline.so.6.1 | grep "]"
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]

 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x0000000e (SONAME)                     Library soname: [libreadline.so.6]
 0x0000000f (RPATH)                      Library rpath: [/usr/lib]
[root at dlxarm01 buildroot]#


And now when I run python:
[root at vx-200 ~]# python
Python 2.7.1 (r271:86832, Mar 23 2011, 23:27:09)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>>
[root at vx-200 ~]#


Peter, Joakim, Salvatore...... I can't thank you all enough!!!!!!  I have
thanked Mike on the buildroot list, Mike has also added a patch for
readline.
I finally have a python shell with a working readline
:))))))))))))))))))))))))))))))0

Cheers
Bruce




On Wed, Mar 23, 2011 at 11:03 PM, Mike Frysinger <vapier at gentoo.org> wrote:

> from Gentoo:
> # force ncurses linking #71420
> sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die
> "sed"
> -mike
>


More information about the uClibc mailing list