libread problem

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

libread problem

Postby winlu » Sat Mar 01, 2014 3:01 pm

Hallo

libread 6.3 has a packaging/linking problem.

solution is to downgrade till it is resolved.

get the old package from http://winlu.mooo.com/static/readline-6 ... pkg.tar.xz or http://europa.lerlacher.de/readline-6.2 ... pkg.tar.xz (thanks to honestly from #archlinux-arm) and install it with pacman -U <path/to/file.tar.xz>
winlu
 
Posts: 13
Joined: Sat Mar 01, 2014 2:55 pm

Re: libread problem

Postby WarheadsSE » Sat Mar 01, 2014 3:20 pm

Could you provide details of this problem?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: libread problem

Postby winlu » Sat Mar 01, 2014 3:24 pm

sure I will try to, sadly I don't have the exact log entries anymore

for example when I tried to call dig I got the following linking error:
"symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP"

ldconfig did not solve the problem. symlinks were ok as well and in the right place
winlu
 
Posts: 13
Joined: Sat Mar 01, 2014 2:55 pm

Re: libread problem

Postby bel3atar » Sat Mar 01, 2014 3:28 pm

Same problem. PHP couldn't run anymore, throwing the same error message.
Downgrading readline fixed the problem.
bel3atar
 
Posts: 1
Joined: Sat Mar 01, 2014 3:26 pm

Re: libread problem

Postby kmihelich » Sat Mar 01, 2014 6:52 pm

dnsutils and php are being rebuilt to address this, will be in the repos soon.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: libread problem

Postby winlu » Sat Mar 01, 2014 7:23 pm

i think my wpa_supplicant also had problems
winlu
 
Posts: 13
Joined: Sat Mar 01, 2014 2:55 pm

Re: libread problem

Postby kmihelich » Sat Mar 01, 2014 7:52 pm

Rebuilding wpa_supplicant as well.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: libread problem

Postby ygator » Sun Mar 02, 2014 3:36 am

$this->bbcode_second_pass_code('', 'ldd -r libreadline.so.6.2
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0xb6ef6000)
libc.so.6 => /usr/lib/libc.so.6 (0xb6dbc000)
/usr/lib/ld-linux.so.3 (0xb6fa1000)
')
$this->bbcode_second_pass_code('', 'ldd -r libreadline.so.6.3
libc.so.6 => /usr/lib/libc.so.6 (0xb6dcf000)
/usr/lib/ld-linux.so.3 (0xb6f5d000)
undefined symbol: UP (./libreadline.so.6.3)
undefined symbol: PC (./libreadline.so.6.3)
undefined symbol: BC (./libreadline.so.6.3)
undefined symbol: tputs (./libreadline.so.6.3)
undefined symbol: tgoto (./libreadline.so.6.3)
undefined symbol: tgetflag (./libreadline.so.6.3)
undefined symbol: tgetent (./libreadline.so.6.3)
undefined symbol: tgetnum (./libreadline.so.6.3)
undefined symbol: tgetstr (./libreadline.so.6.3)
')

I think readline needs to be compiled with --with-curses
From the INSTALL file of readline
$this->bbcode_second_pass_code('', '`--with-curses'
This tells readline that it can find the termcap library functions
(tgetent, et al.) in the curses library, rather than a separate
termcap library. Readline uses the termcap functions, but does not
link with the termcap or curses library itself, allowing applications
which link with readline the to choose an appropriate library.
This option tells readline to link the example programs with the
curses library rather than libtermcap.
')

Update:
Well I just tried with --with-curses, but it did not include the ncurses library. So not sure how it was compiled previous version.
Last edited by ygator on Sun Mar 02, 2014 4:03 am, edited 1 time in total.
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: libread problem

Postby kmihelich » Sun Mar 02, 2014 4:03 am

Good catch, though it's not needing --with-curses.

For whatever reason, a variable isn't being passed through the makefiles, so it wasn't linking to ncurses. This is fixed in readline 6.3-1.1.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: libread problem

Postby checksumx » Mon Mar 03, 2014 10:53 am

after this update, i now also have this problem :)

Jan 01 01:15:32 alarmBone network[3950]: wpa_cli: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
Jan 01 01:15:32 alarmBone network[3950]: wpa_cli: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
Jan 01 01:15:33 alarmBone network[3950]: wpa_cli: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
Jan 01 01:15:33 alarmBone network[3950]: WPA association/authentication failed for interface 'radio0'
Jan 01 01:15:33 alarmBone network[3950]: wpa_cli: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP

alarmBone# ldd -r /usr/lib/libreadline.so.6
libc.so.6 => /usr/lib/libc.so.6 (0xb6e50000)
/usr/lib/ld-linux-armhf.so.3 (0xb6fd5000)
undefined symbol: UP (/usr/lib/libreadline.so.6)
undefined symbol: PC (/usr/lib/libreadline.so.6)
undefined symbol: BC (/usr/lib/libreadline.so.6)
undefined symbol: tputs (/usr/lib/libreadline.so.6)
undefined symbol: tgoto (/usr/lib/libreadline.so.6)
undefined symbol: tgetflag (/usr/lib/libreadline.so.6)
undefined symbol: tgetent (/usr/lib/libreadline.so.6)
undefined symbol: tgetnum (/usr/lib/libreadline.so.6)

(I don't like it ... Now i don't have any network connection any more :D)
checksumx
 
Posts: 2
Joined: Mon Mar 03, 2014 10:48 am

Next

Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 22 guests