> On Tue, Aug 11, 2009 at 1:07 PM, Cherry
> Kearton<cherry.kearton at durham.ac.uk> wrote:
>
>> I am trying to install Maxima on a linux machine: the command
>>
>> rpm -ivh maxima-5.19.0-1.centos4.i386.rpm
>> maxima-exec-clisp-5.19.0-1.centos4.i386.rpm
>> maxima-xmaxima-5.19.0-1.centos4.i386.rpm
>>
>> produces the response
>>
>> error: Failed dependencies:
>> ? ? ? ?libreadline.so.4 is needed by
>> maxima-exec-clisp-5.19.0-1.centos4.i386
>>
>> "locate libreadline" produces the response
>>
>> /lib/libreadline.so.5
>
> Some Linux distributions have a separate readline 4 library
> which you can install in addition to the default version
> (which is version 5 in your case).
> If you have superuser privilege or you can prevail upon your
> sysadmin, try installing readline 4.
>
> I will try to compile Maxima w/ a Clisp which has readline statically
> linked so it doesn't need libreadline.so. I'll post a followup for that.
>
> Sorry for the bother,
>
> Robert Dodier
>
Many thanks for your reply. I am using openSUSE 11.1, and was able to
install readline 4. Now I get the following:
cherry at linux-bpta:~/maxima> rpm -ivh maxima-5.19.0-1.centos4.i386.rpm
maxima-exec-clisp-5.19.0-1.centos4.i386.rpm
maxima-xmaxima-5.19.0-1.centos4.i386.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000
cherry at linux-bpta:~/maxima> ls /var/lib/rpm/
alternatives Conflictname Filemd5s Installtid Packages
Provideversion Requirename Sha1header Triggername
Basenames Dirnames Group Name Providename Pubkeys
Requireversion Sigmd5
I have used linux for several years now but I'm no expert: should I try
installing it from the source code? I'm a bit nervous about that, but
someone has kindly offered to help me.
Cherry Kearton