Karim BELABAS on Thu, 15 Nov 2001 18:06:45 +0100 (MET)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: installing pari on Linux Mandrake 8.1 works if instal. is forced

On Thu, 15 Nov 2001, christine noot-huyghe wrote:
> On my LM 8.1 system, I have the following error message
> when trying to install the rpm of pari
> (pari-2.1.1-1.i386.rpm):
> error: failed dependencies: libreadline.so.4 is needed by pari-2.1.1-1,
> although libreadline.so.4 is installed on my system.
> If you force installation by typing :
> rpm -i --nodeps pari-2.1.1-1.i386.rpm,
> the it works fine and completion of commands also
> works.
> But still, I do not know how to compile pari under my system.

We investigated further via private email; bottom line:

1) readline-devel-4.2-4mdk does not list correctly the capabilities it
provides (only libreadline.so.4.1 and .so.4.2 are listed although it also
installs a symbolic link to .so.4). So the --nodeps solution is correct.

2) The SRPM available on the megrez server for pari-2.1.1-1 corresponds to a
pre-release and was not updated properly. It differs slightly from the one
generated with the RPM (this incompatibility with readline-4.2 is the major
difference) or the pari-2.1.1.tgz tarball. The latter handles compiling with
readline-4.2 just fine.

Karim Belabas                    email: Karim.Belabas@math.u-psud.fr
Dep. de Mathematiques, Bat. 425
Universite Paris-Sud             Tel: (00 33) 1 69 15 57 48
F-91405 Orsay (France)           Fax: (00 33) 1 69 15 60 19
PARI/GP Home Page: http://www.parigp-home.de/