Sample Header Ad - 728x90

Symbol lookup error for libreadline

2 votes
0 answers
2392 views
I recently started having problems with running programs like sqlite3 or awk on Ubuntu20. These programs won't start and just show this error:
lookup error: /usr/local/lib/libreadline.so.8: undefined symbol: UP
I found several solutions but those usually lead to installing libreadline from source. I removed libreadline and libhistory and their symlinks from /usr/local and followed a guide that is not available online now. I installed it, made all symlinks, updated ENV variables but the problem still persists. These solutions (https://stackoverflow.com/questions/26670417/how-to-compile-readline-from-source and https://stackoverflow.com/questions/46881581/libreadline-so-7-undefined-symbol-up ) suggest that invalid symbol may be defined here /usr/lib/libncurses.so but tsuch file is not in my system. Please let me know if you have any suggestions what I can do to fix this problem.
Asked by Juraj Bezručka (121 rep)
Apr 7, 2021, 09:49 PM
Last activity: Dec 22, 2023, 07:58 AM