LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-06-2006, 11:52 AM   #1
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Rep: Reputation: 15
perl library libperl.so error


I am new to linux and have mandrake 10.1, It was fine untill last week,
from yesterday it start giving problem, KDE doesnot start and the following
error message I got.

usr/bin/perl: error while loading shared libraries




I was trying to download new perl , but it says failed dependencies, is it anyone has rpm file for perl which has all the librarys for mandrake 10.1, that I can get and installed in my computer. thanks


any suggestions are appreciated, kind frustrated after trying to install othr perl versions.

thanks
venki
 
Old 02-08-2006, 02:00 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
I suggest you remove the perl rpms you have installed
(you can do this in a terminal with rpm or urpmi)
and go to http://easyurpmi.zarb.org/ so to set up urpmi correctly
to have all the dependencies

Alternatively update to Mandriva 2005

I assume you can still access gnome (or xfce or icewm, whichever
other windows manager there is)

Big hammer solution: reinstall 10.1, then go to
http://easyurpmi.zarb.org/

I trust you have a partition just for your user data
 
Old 02-08-2006, 09:14 AM   #3
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
I could not able to use KDE or GNOME, ICWM , while trying to login , i seen mutiple colored screen and it came back back without login.

I am using default to get inside, but urpmi doesnot work?

I tried to download some perl5.8.7 and installed it but didnot work
and dont know how to remove those rpm installed, Im kind of new to this linux everyone suggested me tht mandrake is very user friendly so I tried and it was fine, untill last week and now end up in mess?

Not sure what is the problem , it didnot let me login in KDE and GNOME?

Is it just perl or something else is a problem?

any help will be greatly apprecited, I dont want to resintall all again cause I have some data tht I dont want to lose it.

how can I check that , my datas are safe , if I resintall the mandrake.



thanks
venk





urpmi.addmedia plf-free ftp://ftp.univ-orleans.fr/logiciel-l...ke/free/2006.0 with hdlist.cz
urpmi.addmedia: Command not found.
 
Old 02-08-2006, 11:01 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Have you got a backup of your data? How much data?
Have you got a USB pen drive handy?
(burning a cd from the command line is doable)

mandriva is indeed very user friendly, no joking.
There is just this akward time at the begining where all is new.
I do not think you can blame mandrake at this stage

>urpmi.addmedia: Command not found.
type su to become root
then you will be able to add the media. Nothing closer to you than fr for the media?
BTW you chose the wrong urmpi sources: you took mandriva 2006, when you run 10.1.
You need main and 1 or two more, but not plf at this stage.

I think the priority is that you backup your data.
When you installed do you remimber creating a partition just for home?

urpmf --name perl | grep 5.8
will list what perl you have

When you are in terminal mode, maybe you still have internet access
(as root try ping somesite.com, then after a while press ctrl c)
If you type man rpm, you will find that you can erase or freshen files.

I am not 100% confident to guide you for all this.
I do not think you and I are advanced enough, but maybe sbdy will come to the rescue

If you have time, remove perl then
insert your cd/dvd of Mandy and do reinstall (as root) perl by doing
rpm -i /mnt/cdrom/ followed to the rest of the path to the rpms of perl on your cd/dvd

Best backup, reinstall, add urpmi sources, then add perl

To be clear: you have access to text mode, but you cannot start KDE etc
 
Old 02-08-2006, 11:25 AM   #5
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
yes I think I do hve home in hda8 as home.
It is quite big close to 13 GB.

Even as root, urpm doesnot work for me, it says command is not found

/usr/bin/urpmf
/usr/bin/urpmf: Command not found.

or urpm either
command not found, but it is in the bin directory

urpmf is at bin directory

urpmi is in sbin , not sure I had successful installation of mandrake .

I also thought tht someone come to rescue me from this , thts reason I am trying to use this forum.

where are u?

thanks
vk
 
Old 02-08-2006, 02:20 PM   #6
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
>where are u?
Does it matter?

>/usr/bin/urpmf: Command not found.
Maybe not there in 10.1. do not know.

What does which rpm return?

You can check partitions with
fdisk -l
If home is effectively separate, there is little risk when reinstalling mandrake
You could even take this as a chance to upgrade to 10.2 (aka 2005 LE)

If you are paranoid about your data, a second IDE,
and a live distro, and "learn the dd command" in LQ
could be a way to make a backup of your data
 
Old 02-08-2006, 02:58 PM   #7
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
>>fdisk -l


/dev/hda1 1 6 48163+ de Dell Utility
/dev/hda2 7 2556 20482875 17 Hidden HPFS/NTFS
/dev/hda3 2557 7296 38074050 f W95 Ext'd (LBA)
/dev/hda5 2557 3172 4947988+ b W95 FAT32
/dev/hda6 3173 3936 6136798+ 83 Linux
/dev/hda7 3937 4076 1124518+ 82 Linux swap
/dev/hda8 4077 7296 25864618+ 83 Linux


>where are u?

I didnot mention about you.

just asking where the rescuer for this solution?


anyway, you think I can install or upgrade, I like to fix this problem without reinstall? little kind of affraid.


thanks


do u think , any other forum , I could look for help?

venk
 
Old 02-08-2006, 04:10 PM   #8
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Actually, instead of re-install, or upgrade,
when mandrake is already there, the re-install is a bit like an update.

Have you got a dual boot system?

if you type mount (nothing else)
it should tell you /dev/hda8 /home
If yes, then you will have double checked for sure where you home data are.

My advice would be reinstall first. Very little risk IMHO.
If the data are very important, spend the money and get another HD
How much is it worth loosing all the data?

LQ is a good place to look for help.
You can try somewhere else for a second opinion, but crossposting
is not very appreciated (generally speaking)
By answering you a few times the thread was bumped to the top
hence attracting some interest.
If you are patient somebody else might come

My solution is the least complicated, and avoid finding out exactly what
is wrong, which in your case looked difficult to pinpoint (at least to me).
I am making you cautious with your data because you should be,
and I have the duty to make you aware of any risk you may take, even small.
Now you have to balance risk/money/time.

Post the result of mount if that can reassure you.
 
Old 02-09-2006, 10:30 AM   #9
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
yes , I do have dual boot,

$ mount

/dev/hda8 on /home type ext3 (rw,noatime)



in the home, I made two directory, one for programs and one for me ,

like
/home/pgm and /home/venk
I have my program files in pgm and data files in venk.


Now I can able to use the system without window manager, but it is nice if I could fix the problem without reinstall .


I remember that I did try to install other programs from urpmi like readline etc for another software to run, I think tht could be messed up the system but not quiet sure.


thanks
venk
 
Old 02-09-2006, 03:26 PM   #10
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Well now we are sure your home is on hda8.
In theory the risk of loosing the data during reinstall is only
- user error
- some dramatic disk heads crashing

If I were you, I would reinstall.
If you type df as root it will tell you the size of the partition.

Knowing that hda8 is the partition of size yyy GB
then you should identify it no problem and NOT install on it,
and do install on hda6.

Last thing to check, is that you are not going to harm your dual boot.
Is lilo your boot loader?

Before going ahead you might want to make a backup copy of the boot sector
and MBR (just in case). dd command can be use for that (please see LQ thread on dd)
I am of the paranoid kind. If you are not, just jump and re-install

Unless you can remember what you installed...
cat /var/log/security/rpm-qa.diff | less
cat /var/log/security.log | less
may give you an idea of what has changed
 
Old 03-09-2006, 02:26 PM   #11
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
hi all
after long time, I rebuild the perl5 from source and seems to be KDE is happy with that
and able to start, I think it is fine. but I cant able to use any mandrake modules
such as that or console or installation could not able to open, I think that might be


because of new perl installation.,

I got the following error message. Is it anyone knows what is going wrong? how can I fix it?


drakconf
Can't locate MDK/Common.pm in @INC (@INC contains: /usr/lib/libDrakX /usr/local/lib/perl5/5.00504/i686-linux /usr/local/lib/perl5/5.00504 /usr/local/lib/perl5/site_perl/5.005/i686-linux /usr/local/lib/perl5/site_perl/5.005 .) at /usr/lib/libDrakX/common.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/common.pm line 3.
BEGIN failed--compilation aborted at /usr/sbin/drakconf line 28.



thanks
venk
 
Old 03-10-2006, 10:32 AM   #12
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
IMHO you have chosen a difficult route
You are taking the risk of breaking your system even more.
You have a file missing now, called Common.pm
possibly living in some MDK folder.
Look on your cd /dvd is the drak rpms are there

you should be able to install it with command
rpm -i path/to/nameoffile.rpm
 
Old 03-10-2006, 01:21 PM   #13
v2010
Member
 
Registered: Feb 2005
Location: us
Posts: 98

Original Poster
Rep: Reputation: 15
thanks , the file exist in /usr/lib/libdrakfx/common.pm

I think there is link was broken.

I installed the perl script in /usr/local/bin, I didnot deleted any files , file is there but it is missing link or it might be in wrong path.

I will check, again.
thanks
venk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C/Perl embed : Libperl.so not found :( dicou Programming 0 04-19-2005 03:38 AM
vim dependency problem libperl.so error loading kprasanna_79 Linux - Software 1 03-09-2005 04:22 AM
Perl standard interface library? sausagejohnson Programming 0 05-10-2004 09:18 PM
imagemagick on debian make error libperl.a snofink Linux - Software 1 04-06-2004 10:53 PM
ImageMagick libperl.a error gbg Linux - Software 3 09-25-2003 06:09 PM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration