LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 05: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, 08:21 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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 08:24 PM.
 
  


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


All times are GMT -5. The time now is 02:14 PM.

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