pari-gp tries to load unavailable libreadline.so.6 and libgmp.so.3 libraries in Bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pari (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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:
libreadline-dev - GNU readline and history libraries, development files
libreadline-
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-
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:
-rw-r--r-- 1 root root 579422 may 15 2017 libreadline.a
lrwxrwxrwx 1 root root 38 may 15 2017 libreadline.so -> /lib/x86_
lrwxrwxrwx 1 root root 14 oct 8 20:36 libreadline.so.6 -> libreadline.so
XXX@XXX:
-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/
-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.