[GiNaC-list] I could not find libreadline
Bernd Speiser
bernd.speiser at t-online.de
Sat Nov 17 15:32:06 CET 2007
Hi all,
I am installing ginac 1.4.0 on an openSuSE 10.3 machine. I have
installed libreadline:
# ll /lib/*readline*
lrwxrwxrwx 1 root root 21 Nov 15 10:02 /lib/libreadline.so ->
/lib/libreadline.so.5
lrwxrwxrwx 1 root root 23 Oct 13 09:59 /lib/libreadline.so.4 ->
/lib/libreadline.so.5.2
lrwxrwxrwx 1 root root 18 Oct 8 20:55 /lib/libreadline.so.5 ->
libreadline.so.5.2
-rwxr-xr-x 1 root root 198824 Sep 22 00:16 /lib/libreadline.so.5.2
Still, configuring ginac results in:
=== The following minor problems have been detected by configure.
=== Please check the messages below before running "make".
=== (see the section 'Common Problems' in the INSTALL file)
== I could not find libreadline (needed by ginsh).
In config.log, I find:
configure:22950: checking for readline in -lreadline
configure:22980: g++ -o conftest -g -O2 conftest.cc -lreadline >&5
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
which suggests that libreadline is looked for in /usr/local/lib, but not
in /lib. Can this behavior be changed?
Not even installing libreadline in /usr/local/lib like
# ll /usr/local/lib/*readline*
-rw-r--r-- 1 root root 659580 Nov 13 10:54 /usr/local/lib/libreadline.a
lrwxrwxrwx 1 root root 16 Nov 13 10:54 /usr/local/lib/libreadline.so
-> libreadline.so.5
lrwxrwxrwx 1 root root 18 Nov 13 10:54
/usr/local/lib/libreadline.so.5 -> libreadline.so.5.2
-r-xr-xr-x 1 root root 484002 Nov 13 10:54 /usr/local/lib/libreadline.so.5.2
does help.
Any suggestion, what could be the reason?
Best regards
Bernd
--
=======================================================================
Bernd Speiser
Institut für Organische Chemie
Auf der Morgenstelle 18
temporary address: Auf der Morgenstelle 15
D-72076 Tübingen
Germany
phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory)
fax: +49-7071-295518
e-mail: bernd.speiser at uni-tuebingen.de
Internet: http://www.uni-tuebingen.de/speiser
=======================================================================
More information about the GiNaC-list
mailing list