View Full Version : libpng.so.2
ProWebUK
11-22-2003, 10:48 AM
Ok a problem a user has come across installing MRTG, the libpng.so.2 file is missing. I know it is part of the libpng package, and believe that is installed by DA.
I have had the user check and the libpng RPM is there, so im assuming the install is corrupted in some way or another, I have since looked for the RPM for RH9 and appear to be unable to find this same RPM for RH9.
Are there any DA FTP / directory locations where we can download / view a list of installed RPMs?
I think if DA does not already have one, an FTP server would be great, its something most other major control panels have, and would be a great help in situations like this :)
Chris
DirectAdmin Support
11-22-2003, 12:45 PM
Hello,
The only RPM's that DA installs (for redhat 9.0) would be found in:
http://files.directadmin.com/services/9.0
And when DA gets installed, it compiles libpng.so.3 into /usr/local/lib/libpng.so.3
You *could* try making a symlink:
ln -s /usr/local/lib/libpng.so.3 /usr/lib/libpng.so.2Not sure it will work, but it's sure worth a shot.
John
l0rdphi1
11-22-2003, 06:34 PM
Not working :(
l0rdphi1
11-22-2003, 06:38 PM
wget ...
rpm -Uvh lib*
then it works :)
*edited because it turned out not to work in the long run*
ProWebUK
11-22-2003, 06:41 PM
i found that one earlier, the reason i ignored it is the version is totally different to the others.... there were only 1/2 for rh9 and they had totally different descriptions to everything else.
I Will add the info to the mrtg page now :) thanks for confirming that.
Chris
ProWebUK
11-23-2003, 08:53 AM
Ok, again this is cpanel fix, although similar:
# cd /usr/lib
# ln -s libpng.so.3 libpng.so.2
the DA suggested fix was basically the same, although libpng.so.3 was located in /usr/lib/local/ not /usr/lib/
After checking my rh9 box again, the libpng.so.3 WAS in /usr/lib
you may want to run locate libpng.so.3 to double check its location first :)
Chris
DirectAdmin Support
11-23-2003, 10:17 AM
Hello,
It is in /usr/local/lib/libpng.so.3 on my system here.. I think it's a different version. We install 1.2.5, and I'm seeing 1.2.2 in /usr/lib ... anyway, glad it's sorted.
John
ProWebUK
11-23-2003, 10:20 AM
Don't think its sorted.... trying to find a working solution :(
Is the system you are checking RH9?
Chris
DirectAdmin Support
11-23-2003, 10:49 AM
On my RH 7.2 I have the following libpng files (this may be non-standard):
libpng-1.0.12-2
/usr/lib/libpng.so.2.1.0.12
/usr/lib/libpng.so.2
/usr/lib/libpng.a
/usr/lib/libpng.so
/usr/local/lib/libpng12.a
/usr/local/lib/libpng.a
/usr/local/lib/libpng12.so.0.1.2.5
/usr/local/lib/libpng.so.3.1.2.5
/usr/local/lib/libpng.so.3
/usr/local/lib/libpng.so
/usr/local/lib/libpng12.so.0
/usr/local/lib/libpng12.so
On our RH 8.0 file server we have:
libpng-1.2.2-8 rpm
/usr/lib/libpng.so.3.1.2.2
/usr/lib/libpng.so.3
/usr/lib/libpng12.so.0.1.2.2
/usr/lib/libpng12.so.0
/usr/lib/libpng.so.2.1.0.13
/usr/lib/libpng.so.2
/usr/lib/libpng10.a
/usr/lib/libpng.a
/usr/lib/libpng.so
/usr/lib/libpng12.a
/usr/lib/libpng12.so
/usr/lib/libpng10.so
/usr/local/lib/libpng12.a
/usr/local/lib/libpng.a
/usr/local/lib/libpng12.so.0.1.2.5
/usr/local/lib/libpng.so.3.1.2.5
/usr/local/lib/libpng.so.3
/usr/local/lib/libpng.so
/usr/local/lib/libpng12.so.0
/usr/local/lib/libpng12.so
John
teedee
11-23-2003, 11:26 AM
on my RH9 I have
/usr/lib/libpng.a
/usr/lib/libpng.so
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.1.2.5
/usr/lib/libpng.12.a
/usr/lib/libpng.12.so
/usr/lib/libpng.12.so.0
/usr/lib/libpng.12.so.0.1.2.5
MRTG not installing
ProWebUK
11-23-2003, 11:34 AM
Based on John's previous fix, and a fix found for MRTG with CPanel, it appears you need to do the following:
# cd /usr/lib
# ln -s libpng.so.3 libpng.so.2
Keep us informed with how it goes :)
Chris
teedee
11-23-2003, 02:56 PM
Tried the symlink but still get same error
ProWebUK
11-23-2003, 03:27 PM
Can you be more specific on what errors you are recieveing?
Thanks,
Chris
l0rdphi1
11-23-2003, 03:36 PM
When I tried the symlinks (both variations of John's and the ones from EV1) the error remained the same - "libpng.so.2 is needed by mrtg-2.9.17-4ct"
ProWebUK
11-23-2003, 04:04 PM
hmmm, i think the best option for it is me to get on with a RPM and not compile libpng into mrtg :)
Chris
l0rdphi1
11-23-2003, 04:06 PM
Well, okay. Installing the old way is not much more difficult than this, and most people don't mind.
Good luck.
ProWebUK
11-23-2003, 04:45 PM
If i made the rpm, it would be based on the original howto although the new CFG's included and an install via 1 simple command :)
Chris
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.