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 09-08-2006, 04:08 PM   #1
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
error while loading shared libraries: libpng.so.2: [I reinstalled libPNG!]


Hi!
I have a problem. I had old image magick version installed, yesterday I decited to install the newest version from source. Compilation was successfull, but everytime I run it, I get:
Code:
convert: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
but I have that librarie, even when I type config, it shows, that I have that librarie, anyway I compiled it without PNG support, but still the same error. Then I put the slackware CD in and installed all the libraries from the "l" folder on slackware cd, did a ldconfig but the same error. Then I restarted my computer put in the Slackware CD 1 and installed everything, now the error was gone, but I found out that for some tools of ImageMagick, for example identify, it shows the same error. Then I decited to install the old ImageMagick again (I removed the new one), but still the same error, even now for the old one! I downloaded libPHP from linuxpackages.net tried different versions, but I still get the same error! I guess it's imagemagick problem, because GIMP works fine! Now everytime I try to install software with installpkg tool, I get this:
Code:
touch: cannot touch `usr/lib/perl5/i386-linux/perllocal.pod': No such file or directory
install/doinst.sh: line 3: usr/lib/perl5/i386-linux/perllocal.pod: No such file or directory
Any ideas where did I go wrong? Thank you!
 
Old 09-09-2006, 07:21 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
regarding this:
Quote:
Originally Posted by Shioni
Code:
touch: cannot touch `usr/lib/perl5/i386-linux/perllocal.pod': No such file or directory
install/doinst.sh: line 3: usr/lib/perl5/i386-linux/perllocal.pod: No such file or directory
FWIW, on my slackware 10.2 box the parent directory is i486-linux, not i386-linux... it also has an additional directory on top of that with the perl version:
Code:
root@carly:/home/win32sux# find / -name perllocal.pod -type f -exec ls -l {} \;
-rw-r--r--  1 root root 690 2005-07-13 14:15 /usr/lib/perl5/5.8.7/i486-linux/perllocal.pod
sounds like your package's doinst.sh script is ill, but i'm not sure...

Last edited by win32sux; 09-09-2006 at 07:24 PM.
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
libpng and libpng-devel missing in mplayer configure mmarkvillanueva Linux - Software 2 11-29-2005 10:40 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
MPlayer install problems with libpng & libpng-devel Trey2501 Linux - Newbie 18 03-05-2004 11:24 PM

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

All times are GMT -5. The time now is 11:29 PM.

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