LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-02-2003, 09:48 PM   #1
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
libpng12.so.0???


where would i get this file from?? when i search google i get a whole bunch of mandrake and rpm stuff come up.....so not sure where i could find this -thanks
 
Old 01-02-2003, 10:05 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
libpng is from the "l" (lowercase L) disk set in Slack. But I do not know about the version you posted, with number prior to the so designation. Slack 8.1 provides libpng-1.2.1. The following is what my system currently has:

bash-2.05a# ls -l /usr/lib/libpng*
-rw-r--r-- 1 root root 197288 Feb 14 2002 /usr/lib/libpng.a
lrwxrwxrwx 1 root root 11 Oct 12 18:41 /usr/lib/libpng.so -> libpng.so.3
lrwxrwxrwx 1 root root 18 Oct 12 18:40 /usr/lib/libpng.so.2 -> libpng.so.2.1.0.12
-rwxr-xr-x 1 root root 183398 Feb 14 2002 /usr/lib/libpng.so.2.1.0.12
lrwxrwxrwx 1 root root 17 Oct 12 18:40 /usr/lib/libpng.so.3 -> libpng.so.3.1.2.1
-rwxr-xr-x 1 root root 188678 Feb 14 2002 /usr/lib/libpng.so.3.1.2.1

After the package is installed, or if it is installed, you can locate more info in the /usr/doc/libpng-1.2.1 directory tree.

Sometimes packages are built to use libs that the author had installed but may not be a part of the standard distribution of the library. Or they had some beta package installed at some time in the past it the library changed over time. I have had some limited success in just trying to create a link to the version that I have. Like you might try the following and see if it works OK or not.

ln -s /usr/lib/libpng.so /usr/lib/libpng12.so.0

That would create a symbolic link for the file that is being searched for but redirects it to the file that you have. If it doesn't work, you can always delete the sym link.

Cheers!
 
Old 01-03-2003, 12:00 PM   #3
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Original Poster
Rep: Reputation: 31
It worked, thanks alot.
 
  


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 library : libpng12.so.0 dhanilshah Linux - Software 5 08-18-2011 07:38 AM


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