MPlayer install problems with libpng & libpng-devel
I am trying to install MPlayer on Fedora Core 1 and have been having the common problems with libpng and libpng-devel dependencies. I installed libpng & libpng devel:
whereis libpng: Code:
libpng: /usr/lib/libpng.a /usr/lib/libpng.so /usr/lib/libpng12.a /usr/lib/libpng12.so /usr/local/lib/libpng12.a /usr/local/lib/libpng.a /usr/local/lib/libpng.so /usr/local/lib/libpng12.so /usr/include/libpng /usr/share/man/man3/libpng.3.gz Code:
package libpng-devel-1.2.2-17 (which is newer than libpng-devel-1.2.2-16) is already installed I did a thorough googling of all of the old responses to this question, and tried setting my LD_LIBRARY_PATH to /usr/lib (where the files are) and STILL doesn't work. Any help on this would be GREATLY appreciated. |
Why do you have another copy in /usr/local ? did you try to install it from the source before or use a third party RPM?
|
On further analysis, the output of the configure script includes:
Checking for PNG support ... no (mismatch of library and header versions) So, I uninstalled libpng and libpng-devel and re-installed, making sure the version numbers were the same. When I execute rpm -qa | grep libpng I get the following: libpng-1.2.2-17 libpng-devel-1.2.2-17 libpng10-1.0.13-9 The version numbers match!!! And I am still getting the same error when I try to run configure --enable-gui. Help!!! |
I used a third-party RPM.
|
try getting rid of libpng files in /usr/local/lib
then reinstall libpng and libpng-devel from the fedora RPM |
OK, I did rm libpng* in /usr/local/lib & I re-installed libpng-devel, however, I can't uninstall libpng because when I try and do rpm -e on libpng, it tells me that it is needed by all these installed applications.
Sorry if this is frustrating, but I am lost! |
use "rpm -e --nodeps" to uninstall it
then reinstall |
Ok, after trying that, my terminal hung and had to be shut down. When i tried it again, I got
rpm -e --nodeps libpng error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm |
try killing all zombie RPM processes, if that doesnt help just do a reboot
|
OK, after killing all of the rpm processes and retrying that command, it just sits there after I hit enter. No HDD activity, just waiting. a Ctrl-C does not interrupt. This also occurred after a reboot. Apparently it doesn't want to let me uninstall libpng.
|
Do a rpm --rebuilddb
don't worry about uninstalling, try ./configure MPlayer again, if necessary use "rpm -i --force" to reinstall these libpng packages |
Haha, well I can't start KDE now because it's missing /usr/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-png.ps: libpng12.so.0, so I used the command line to ftp libpng and reinstall and am still getting the same error.
This is turning into a nightmare. |
You don't need KDE to do all this
the rpm engine can be unreliable at times, the only solution I know at this point is doing a reboot when all rpm processes appear to hang. If you're still having trouble reinstalling it try this: cd to / rpm2cpio /path/to/libpng-1.2.2-17.rpm | cpio -idv then do a /sbin/ldconfig that should at least get your KDE back If everything fails try compiling libpng from the source http://aleron.dl.sourceforge.net/sou...-1.2.5.tar.bz2 use makefile.linux and change the prefix to /usr |
OK, I'm back up and running and I got the X11 error, so I installed XFree86-devel and whatnot. Then I re-ran configure and now I'm getting the GTK errors. I have gtk and gtk-devel installed! The output of rpm -aq | grep gtk is
pygtk2-2.0.0-1 gtkam-0.1.7-6.1 gtk-engines-0.12-1 gtk+-devel-1.2.10-28.1 pygtk2-libglade-2.0.0-1 usermode-gtk-1.69-1 gtkhtml2-2.4.0-1 authconfig-gtk-4.3.8-1 gtkspell-2.0.4-2 gtkhtml-1.1.9-5 gtk2-engines-2.2.0-3 gtkhtml3-3.0.9-5 gtksourceview-0.6.0-2 gtk+-1.2.10-28.1 mtr-gtk-0.52-3 gtk2-2.2.4-5.1 gnome-python2-gtkhtml2-2.0.0-2 |
Additionally, I'm pretty sure that I have two versions of zlib and libpng installed on my computer now. Any idea how I could verify this and remove one?
Man, I suck at this. |
All times are GMT -5. The time now is 04:57 AM. |