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-11-2003, 01:03 AM   #1
dhanilshah
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Unhappy Error while loading shared library : libpng12.so.0


Hello,

I am getting following error while running almost any linux commands e.g. linuxconf, fsconf, userconf.

Error while loading shared librariy : libpng12.so.0 : can not open shared object file: No such file or directory.

I think after installing Apache web server I am getting this error.

I am running Redhat Linux 7.2 on P-III PC.

can some one help??

Thanks
Dhanil
 
Old 09-11-2003, 03:04 AM   #2
elp
Member
 
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
Re: Error while loading shared library : libpng12.so.0

Quote:
Originally posted by dhanilshah
Hello,

Error while loading shared librariy : libpng12.so.0 : can not open shared object file: No such file or directory.
Dhanil
Install libpng
 
Old 09-12-2003, 01:17 AM   #3
dhanilshah
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for reply but how do I get libpng & other library files?
 
Old 09-12-2003, 04:54 AM   #4
elp
Member
 
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
Quote:
Originally posted by dhanilshah
Thanks for reply but how do I get libpng & other library files?
You can find em on your RedHat CDrom.
 
Old 08-18-2011, 04:06 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
OpenSuse 11.3

Yes, seen the date and Distro. (Red Hat) in OP too.
I landed here through Google for the SAME error but a different Distro: (OpenSuse 11.3)

In a hope to help someone else:
Code:
linux-dopx:/home/anisha/ # zypper what-provides libpng12.so.0
Retrieving repository 'Updates for openSUSE 11.3 11.3-1.82' metadata [done]
Building repository 'Updates for openSUSE 11.3 11.3-1.82' cache [done]
Loading repository data...
Reading installed packages...
S | Name             | Type    | Version      | Arch   | Repository                         
--+------------------+---------+--------------+--------+------------------------------------
  | libpng12-0-32bit | package | 1.2.46-7.3.1 | x86_64 | Updates for openSUSE 11.3 11.3-1.82
  | libpng12-0-32bit | package | 1.2.44-2.1   | x86_64 | openSUSE-11.3-Oss                  
  | libpng12-0       | package | 1.2.46-7.3.1 | x86_64 | Updates for openSUSE 11.3 11.3-1.82
  | libpng12-0       | package | 1.2.44-2.1   | x86_64 | openSUSE-11.3-Oss                  
  | libpng12-0       | package | 1.2.44-2.1   | x86_64 | openSUSE-11.3 11.3-1.82            
  | libpng12-0       | package | 1.2.46-7.3.1 | i586   | Updates for openSUSE 11.3 11.3-1.82
  | libpng12-0       | package | 1.2.44-2.1   | i586   | openSUSE-11.3-Oss                  

linux-dopx:/home/anisha/ # zypper install libpng12-0
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  libpng12-0 

1 new package to install.
Overall download size: 72.0 KiB. After the operation, additional 168.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package libpng12-0-1.2.46-7.3.1.x86_64 (1/1), 72.0 KiB (168.0 KiB unpacked)
Retrieving: libpng12-0-1.2.46-7.3.1.x86_64.rpm [done (0 B/s)]
Installing: libpng12-0-1.2.46-7.3.1 [done]

linux-dopx:/home/anisha/ #
and for the installation from source:
http://sourceforge.net/projects/libp...bpng12/1.2.46/

Last edited by TheIndependentAquarius; 08-18-2011 at 04:24 AM.
 
Old 08-18-2011, 07:38 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,919

Rep: Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586
Redhat 7.2 packages are here
ftp://archive.download.redhat.com/pu...nux/7.2/en/os/

i386 ftp://archive.download.redhat.com/pu...6/RedHat/RPMS/

libpng 1.0 ftp://archive.download.redhat.com/pu....12-2.i386.rpm
> libpng-1.0.12-2.i386.rpm
No libpng-1.2* ( = libpng12 ).

You can try with a link :
cd /usr/lib/ && ln -s libpng.so.2.1.0.12 libpng12.so.0

If it isn't working, delete the link.
And you will have to build a "libpng-1.2.xx" (libpng-1.2.43).

..

Last edited by knudfl; 08-18-2011 at 07:40 AM.
 
1 members found this post helpful.
  


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 05:47 AM
error while loading shared library bonniehandi Linux - Newbie 2 11-18-2005 11:43 PM
MAndrake 10 library problem : error while loading shared libraries falojah Linux - Software 13 09-22-2005 06:18 AM
kmodule: error while loading shared library libc.so.6 gruell Fedora - Installation 2 08-04-2005 09:24 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM


All times are GMT -5. The time now is 06:29 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