error message: libreadline.so.6 too short

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

error message: libreadline.so.6 too short

Postby kensor » Dec 10th, '11, 06:57

Recently I inquired about a libreadline.so.5 message received when attempting to install the rpm version of the programming language Agena. At the suggestion here recompilation would be in order, I messaged the developer asking details about that, and in reply he suggested just linking the newer version 6 library that Mageia uses to the Agena system. Long story short, not only does that not work, but now I have an error message on my system's reboot to the effect that shared library loading was aborted with a message libreadline.so.6 is too short (yes, its file size is 0), but now the Add/Remove software function in Control Center aborts abnormally with a similar message in its verbiage. An ls of the /lib directory has libreadline.so.6 in white letters blinking in a red rectangle followed by an @. I tried to use urpmi from the command line to see if I could download just a libreadline.so.6 package, but urpmi fails because of the libreadline problem.

Is there some way I can download appropriate code to extricate my system from this mess caused by a university class assignment to learn a new programming language in the second week before final examinations?
kensor
 
Posts: 24
Joined: Jun 12th, '11, 12:31

Re: error message: libreadline.so.6 too short

Postby dubigrasu » Dec 10th, '11, 07:20

has libreadline.so.6 in white letters blinking in a red rectangle followed by an @.

That means a broken link.
Is other libreadline.so.* present in the same directory?
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: error message: libreadline.so.6 too short

Postby kensor » Dec 10th, '11, 07:28

There are two other link files of 16 and 18 characters, but no longer libreadline.so files.
kensor
 
Posts: 24
Joined: Jun 12th, '11, 12:31

Re: error message: libreadline.so.6 too short

Postby dubigrasu » Dec 10th, '11, 07:49

Try then to reinstall libreadline from console as root:
Code: Select all
urpmi libreadline6

if is already installed but somehow crippled:
Code: Select all
urpmi --replacepkgs libreadline6


Edit: Ah, sorry I forgot you can't do that either.

http://ftp5.gwdg.de/pub/linux/mageia/di ... 1.i586.rpm
download the above package and install it from console in the same directory where it resides:
Code: Select all
rpm -i libreadline6-6.2-1.mga1.i586.rpm

or
Code: Select all
rpm -i --force libreadline6-6.2-1.mga1.i586.rpm


Eventually if anything fails, extract the package and manually copy the files.
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: error message: libreadline.so.6 too short

Postby doktor5000 » Dec 10th, '11, 11:45

dubigrasu wrote:http://ftp5.gwdg.de/pub/linux/mageia/di ... 1.i586.rpm
download the above package and install it from console in the same directory where it resides:
Code: Select all
rpm -i libreadline6-6.2-1.mga1.i586.rpm

or
Code: Select all
rpm -i --force libreadline6-6.2-1.mga1.i586.rpm



Just a related sidenote, rpm can perfectly download itself, so
Code: Select all
rpm -ihv http://ftp5.gwdg.de/pub/linux/mageia/distrib/1/i586/media/core/release/libreadline6-6.2-1.mga1.i586.rpm

should do the trick :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18252
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: error message: libreadline.so.6 too short

Postby dubigrasu » Dec 10th, '11, 11:50

Ha! :o
Never crossed my mind to try that thanks, that's good to know.
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: error message: libreadline.so.6 too short

Postby doktor5000 » Dec 10th, '11, 18:25

RPM has inbuilt support for most download protocols since ages, be it ftp, http, maybe even rsync?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18252
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron