Public bug reported:

I have found the following error when I try to execute pari-gp version
2.9.4-1:

gp: error while loading shared libraries: libreadline.so.6: cannot open
shared object file: No such file or directory

The dependences are
Depends: libc6 (>= 2.14), libgmp10, libreadline7 (>= 6.0), libx11-6

And I have libreadline7 installed. I have no option to install libreadline6 
with the default repositories: 
XXX@XXX:/usr/lib/x86_64-linux-gnu$ apt-cache search libreadline
libreadline-dev - GNU readline and history libraries, development files
libreadline-gplv2-dev - GNU readline and history libraries, development files
libreadline5 - Bibliotecas readline y history de GNU, bibliotecas ejecutables
libreadline5-dbg - GNU readline and history libraries, debugging libraries
libreadline7 - Bibliotecas readline y history de GNU, bibliotecas ejecutables
libreadline7-dbg - GNU readline and history libraries, debugging libraries
cupt - flexible package manager -- console interface
libreadline-java - GNU readline and BSD editline wrappers for Java
libreadline-java-doc - API docs for readline/editline wrappers for Java

I am able to execute pari-gp by adding 2 symbolic lines,
libreadline.so.6 and libgmp.so.3, to the new versions of the libraries.
Of course, this is not an optimal solution.

You can see the symbolic links here:
XXX@XXX:/usr/lib/x86_64-linux-gnu$ ls -l libreadline*
-rw-r--r-- 1 root root 579422 may 15  2017 libreadline.a
lrwxrwxrwx 1 root root     38 may 15  2017 libreadline.so -> 
/lib/x86_64-linux-gnu/libreadline.so.7
lrwxrwxrwx 1 root root     14 oct  8 20:36 libreadline.so.6 -> libreadline.so
XXX@XXX:/usr/lib/x86_64-linux-gnu$ ls -l libgmp*
-rw-r--r-- 1 root root 1311662 ene 24  2018 libgmp.a
lrwxrwxrwx 1 root root      16 ene 24  2018 libgmp.so -> libgmp.so.10.3.2
lrwxrwxrwx 1 root root      16 sep 26 11:11 libgmp.so.10 -> libgmp.so.10.3.2
-rw-r--r-- 1 root root  526688 ene 24  2018 libgmp.so.10.3.2
lrwxrwxrwx 1 root root      35 oct  8 20:40 libgmp.so.3 -> 
/usr/lib/x86_64-linux-gnu/libgmp.so
-rw-r--r-- 1 root root   51282 ene 24  2018 libgmpxx.a
lrwxrwxrwx 1 root root      17 ene 24  2018 libgmpxx.so -> libgmpxx.so.4.5.2
lrwxrwxrwx 1 root root      17 ene 24  2018 libgmpxx.so.4 -> libgmpxx.so.4.5.2
-rw-r--r-- 1 root root   22872 ene 24  2018 libgmpxx.so.4.5.2

Pari-gp appears to run smoothly. But, for sure, I should expect issues
if libgmp or libreadline introduced any incompatibility from versions v3
and v6, respectively.

Best regards,
Rafael.

** Affects: pari (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796750

Title:
  pari-gp tries to load unavailable libreadline.so.6 and libgmp.so.3
  libraries in Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pari/+bug/1796750/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to