LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2005, 03:40 AM   #1
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Rep: Reputation: 0
FC3 - perl 5.8.5 unable to find libperl.so library


EDIT: Scroll down to post 4 for a better explanation of the problem source ... the rest is left here to describe symptoms and for history's sake.



Hey all.

Not sure which of the dozens of programs I've installed over the last two days caused this, but I'm running into issues with perl.

Whenever I su, I get the following output:
Quote:
$ su
Password:
perl: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
perl: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
Trying to re-install gives me:
Quote:
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl.x86_64 3:5.8.5-12.FC3 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: perl.x86_64 3:5.8.5-12.FC3 - updates-released
Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error: file /usr/lib/perl5/5.8.5/File/Path.pm from install of perl-5.8.5-12.FC3 conflicts with file from package perl-5.8.5-9
file /usr/share/man/man1/c2ph.1.gz from install of perl-5.8.5-12.FC3 conflicts with file from package perl-5.8.5-9
file /usr/share/man/man1/cpan.1.gz from install of perl-5.8.5-12.FC3 conflicts with file from package perl-5.8.5-9
...
<snip>
...
file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.5-12.FC3 conflicts with file from package perl-5.8.5-9
[root@localhost mybox]#
I'm struggling with how to go about troubleshooting this issue, and google hasn't been able to provide me with anything useful ... has anyone else out there ran into this issue, or have an idea on how to go about solving it?

Thx in advance,

Jeremy

Last edited by jert; 07-23-2005 at 11:43 AM.
 
Old 07-23-2005, 03:49 AM   #2
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
# locate libperl.so
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/perl5/5.8.2/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE/libperl.so
Does this look right? Is the error because it's looking for the libperl.so file in a non-existant i86_64 archtype directory?
 
Old 07-23-2005, 10:32 AM   #3
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I'm guessing that, with pretty much everything on the box dependant on it, uninstalling and reinstalling perl isn't a good idea.

Anyone out there who can at least point me in the right direction in troubleshooting this?
 
Old 07-23-2005, 11:43 AM   #4
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
From post #2, libperl.so exists in a number of places on my system. However, the reason I'm getting the error is this:

Quote:
$ ldd /usr/bin/perl
libperl.so => not found
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003e7ee00000)
libdl.so.2 => /lib64/libdl.so.2 (0x000000303de00000)
libm.so.6 => /lib64/tls/libm.so.6 (0x000000303dc00000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003e7ec00000)
libutil.so.1 => /lib64/libutil.so.1 (0x0000003041800000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x000000303e600000)
libc.so.6 => /lib64/tls/libc.so.6 (0x000000303d900000)
/lib64/ld-linux-x86-64.so.2 (0x000000303d700000)
$
What's the best way to resolve this?
 
Old 07-23-2005, 12:28 PM   #5
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Here's the solution.

Apparently, the i386 modules were accidently installed with the x86-64 disto ... and now that the updates are hitting the repositories, this is quite a popular little bug ... of course, I'm sure that at least someone here must have known that already ...
 
Old 07-23-2005, 06:56 PM   #6
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Well ... that's no good either ...

The solution to the i386 issue is stated to be 'yum remove perl.i386', and then the yum update conflicts will be resolved. Unfortunately, yum wants to also remove absolutely everything I have installed on my machine at the same time ... including X11.

Is there a way to have yum remove a single package without the dependency issues? I'd like to remove only the perl.i386 packages; and then run the yum update to put in the x86_64 packages.

How can this be done, and is there any concerns with doing things this way?

Thanks in advance ...
 
Old 07-23-2005, 07:08 PM   #7
jert
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Remove the existing package:
rpm -e --allmatches --nodeps perl

Install the x86_64 release:
yum install perl.x86_64

Update:
yum update

We'll see in the next couple of days if nodeps removal caused any problems ... but for now, it seems to be working.
 
  


Reply



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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
Useful article: "Linux File & Directory Permission Mistakes" sundialsvcs Linux - Security 1 08-15-2005 11:50 AM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM
Debian kernels: "warning: can't open /etc/mtab: No such file or directory" brurien Debian 1 10-22-2003 06:09 PM
Pre-Build Executable "No Such File or Directory" problem Archeress Linux - General 2 08-17-2002 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration