athame icon indicating copy to clipboard operation
athame copied to clipboard

Can't install it in Ubuntu 18

Open strogiyotec opened this issue 4 years ago • 2 comments

Goo day , I tried to install it in my Ubuntu 18.04 and it failed

What I did

git clone --recursive http://github.com/ardagnir/athame
cd athame
./readline_athame_setup.sh --libdir=/lib/x86_64-linux-gnu --use_sudo

Output

mv athame.o athame.so
rm -f libreadline.so.8.0
gcc -shared -Wl,-soname,libreadline.so.8.0 -L./lib/termcap -Wl,-rpath,/lib/x86_64-linux-gnu -Wl,-soname,`basename libreadline.so.8.0 .0` -o libreadline.so.8.0 readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so athame.so -lncurses -lutil
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
Makefile:176: recipe for target 'libreadline.so.8.0' failed
make[1]: *** [libreadline.so.8.0] Error 1
make[1]: Leaving directory '/home/user/athame/athame/readline-8.0_tmp/shlib'
Makefile:218: recipe for target 'shared' failed
make: *** [shared] Error 2

How can I fix it ?

strogiyotec avatar May 02 '20 23:05 strogiyotec

/usr/bin/ld: cannot find -lncurses

You need to install libncurses-dev.

tejasvi avatar Oct 07 '20 05:10 tejasvi

I had this error too:

rm -f libreadline.so.8.0
gcc -shared -Wl,-soname,libreadline.so.8.0 -L./lib/termcap -Wl,-rpath,/usr/lib -Wl,-soname,`basename libreadline.so.8.0 .0` -o libreadline.so.8.0 readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so athame.so -lncurses -lutil
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
Makefile:176: recipe for target 'libreadline.so.8.0' failed
make[1]: *** [libreadline.so.8.0] Error 1
make[1]: Leaving directory '/home/cjm/athame/athame/readline-8.0_tmp/shlib'
Makefile:218: recipe for target 'shared' failed
make: *** [shared] Error 2

Installing libncurses-dev solved it

cuppajoeman avatar Jan 14 '21 20:01 cuppajoeman