Author |
Message |
simonf
|
Posted: Sat Jul 18, 2009 8:47 am |
|
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location:
Manchester UK
|
I upgraded today from the old linhes beta using
sudo pacman -Syuf
it all seemed to go fine BUT.... now the playback of videos no longer works or myth gallery (vodka still dosnt work but get_iplayer works from the command prompt).
I did a little investigating and found that if I changed video playback to use "Internal" some of the video files started to work.
So I tried to play them from the comand prompt using mplayer but get this error
Code: > mplayer mplayer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
It looks like libjpeg is pooched any ideas on how to fix it ??
_________________ Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330
|
|
Top |
|
|
craigtv
|
Posted: Sat Jul 18, 2009 9:22 am |
|
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location:
Raleigh, NC
|
**edit ** Don't do this, it makes mythfrontend seg fault *****
I'm not sure if it's a proper fix, but I encountered the same issue and worked around it by creating a link to the existing libjpeg.so:
Code: cd /usr/lib sudo ln -s libjpeg.so.7.0.0 libjpeg.so.62
Last edited by craigtv on Sun Jul 19, 2009 1:07 pm, edited 1 time in total.
|
|
Top |
|
|
simonf
|
Posted: Sat Jul 18, 2009 10:33 am |
|
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location:
Manchester UK
|
************DO NOT DO THIS*********
****It Breaks The Front End************
Code: cd /usr/lib sudo ln -s libjpeg.so.7.0.0 libjpeg.so.62
got rid if the error message
can someone post what the settings for video playback should be
I have internal for all at the moment
I think I had mplayer -fs %s with a couple of other options before I can try at the command prompt to get it correct but it would be easyer if some one could post the settings for video and DVD playback.
ps the myth galley still dosnt show my pics just a grey background ?
_________________ Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330
Last edited by simonf on Sun Jul 19, 2009 5:29 pm, edited 1 time in total.
|
|
Top |
|
|
nharris
|
Posted: Sat Jul 18, 2009 11:22 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Sorry everyone, this is my fault. I'm working on fixing it. I didn't realize that mplayer depended on libjpeg, so thanks for that. I'll fix it up too.
|
|
Top |
|
|
craigtv
|
Posted: Sun Jul 19, 2009 1:01 pm |
|
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location:
Raleigh, NC
|
|
Top |
|
|
craigtv
|
Posted: Sun Jul 19, 2009 1:06 pm |
|
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location:
Raleigh, NC
|
Sorry for all the posts, but I just figured out my "workaround" breaks mythfrontend. I'll edit the post accordingly.
Craig
|
|
Top |
|
|
nharris
|
Posted: Sun Jul 19, 2009 2:44 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
All, please try a "pacman -Syu" again. This should fix the problem.
|
|
Top |
|
|
craigtv
|
Posted: Sun Jul 19, 2009 3:17 pm |
|
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location:
Raleigh, NC
|
tried pacman -Syu, but no updates ... says my local database is up to date.
|
|
Top |
|
|
simonf
|
Posted: Sun Jul 19, 2009 5:27 pm |
|
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location:
Manchester UK
|
Ok
I did craigtv's Fix which got mplayer working again !!
just done
Code: > pacman -Syu :: Synchronizing package databases... downloading core-testing.db.tar.gz... downloading extra-testing.db.tar.gz... :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts... Proceed with installation? [Y/n] Targets (17): system-templates-1.0-29 LinHES-config-2.0-59 libmng-1.0.10-3 fbsplash-1.5.4.3-15 imlib2-1.4.1-2 jasper-1.900.1-2 lcms-1.17-3 libcups-1.3.9-4 libwmf-0.2.8.4-5 lirc-0.8.5CVS-14 mjpegtools-1.9.0-4 mplayer-29426-1 myth2ipod-0.2-17 mythtv-0.21-74 pil-1.1.6-6 runit-scripts-1.8.0-93 tweaker-1-43
Total Download Size: 36.19 MB Total Installed Size: 86.13 MB
and rebooted and the myth frontend didnt start so i ran mythtv from an x window and found the sementation fault !!!! I have now removed libjpeg.so.62 and the front end now comes up but I have my origonal problem again Code: > mplayer mplayer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
I am using the "Internal" Player for now but it would be nice to have mplayer working so i can watch .mov files dowloaded with get_iplayer.
I did contemplate creating a shell scriprt that symlinked libjpeg, ran mplayer then removed the symlink but thats even too patchy for me..
PS myth gallery still isnt showing any pictures !!
_________________ Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330
|
|
Top |
|
|
mihanson
|
Posted: Sun Jul 19, 2009 10:04 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
I have the libjpeg.so.62 problem as well. FE works mplayer does not. This after I -Syu'ed.
_________________ Mike
My Hardware Profile
|
|
Top |
|
|
craigtv
|
Posted: Mon Jul 20, 2009 4:51 pm |
|
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location:
Raleigh, NC
|
I did another pacman update and saw an mplayer update come through. However, I still have the same libjpeg.so.62 issue.
Do we need to uninstall and reinstall some items to get it to get the dependencies?
|
|
Top |
|
|
mihanson
|
Posted: Mon Jul 20, 2009 6:11 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
craigtv:
If you look in /var/log/pacman.log you can see exactly what pacman upgraded and use that as a guide to rollback the bad changes. Just note the previous versions of the upgraded packages (it'll tell you in the log) and then:
Code: # cd /data/var/cache/pacman/pkg # pacman -U <old_packages.tar.gz>
This will only work if you have not cleaned your pacman cache. Personally, I'm stuck becasue I did clean mine a few months back and I'm missing some of the old packages.
If you're in my boat, the "S.S. WAF Falling due to no mplayer", you just need to wait for nharris, cesman, jams or another dev to fix the problem.
_________________ Mike
My Hardware Profile
|
|
Top |
|
|
mihanson
|
Posted: Mon Jul 20, 2009 6:16 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
It seems my ffmpeg is borked too:
Quote: ffmpeg -i 00700.m2ts ffmpeg: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory
_________________ Mike
My Hardware Profile
|
|
Top |
|
|
nickca
|
Posted: Mon Jul 20, 2009 6:27 pm |
|
Joined: Tue Oct 17, 2006 10:03 pm
Posts: 49
|
Basically what's going on is they're releasing updates to audio/video libraries before updates to applications which depends on those libraries are available. It's easy to fix, although annoying and would have been easy to prevent from happening.
Reposting from my Flyspray comment:
Comment by Nick C. (nickca) - Tuesday, 21 July 2009, 00:21 GMT — Edit
An update to libfaad broke it as well. The problem isn't libjpeg, it's that they're releasing updates to libraries that mplayer depends on without updating mplayer to use them, so it's mplayer that needs to be recompiled.
I know this isn't Ubuntu and there's only a few people working on LinHES, but could we maybe hold off on making library updates available until updates to major components of the system that depend on those libraries are also available? Some people run pacman -Su every day or two, and so far it's never broken anything like this.
Anyway, to fix mplayer for now, do this as root:
# ln -s /usr/lib/libjpeg.so.7.0.0 /usr/lib/libjpeg.so.62
# ln -s /usr/lib/libfaad.so.2.0.0 /usr/lib/libfaad.so.1
If mplayer won't start again after that, check the mythfrontend log for what library it's looking for and do the same as above: fake it out by making a symlink with the version of the library it's looking for to the version you have.
EDIT
Sorry, apparently others have already tried the symlink fix, and it borks the frontend. I haven't restarted the frontend since doing it, so I didn't know.
|
|
Top |
|
|
nickca
|
Posted: Mon Jul 20, 2009 10:14 pm |
|
Joined: Tue Oct 17, 2006 10:03 pm
Posts: 49
|
OK, a better fix until they get all this sorted out is just to recompile mplayer yourself, which isn't that hard. Just follow step 2 from my old tutorial here. Download this version of the VDPAU kit (direct link to the tarball) (even if you don't use VDPAU, the kit includes a script that automatically does the SVN checkout, configuration and compilation). Once you compile it, back up your original mplayer and mencoder:
Code: # mv /usr/bin/mplayer /usr/bin/mplayer.orig_dist # mv /usr/bin/mencoder /usr/bin/mencoder.orig_dist
Then copy the new mplayer and mencoder binaries in their place (assuming you build mplayer in /usr/src): Code: # mv /usr/src/mplayer-vdpau-3532130/mplayer-vdpau/mplayer /usr/bin/ # mv /usr/src/mplayer-vdpau-3532130/mplayer-vdpau/mencoder /usr/bin/
Oh, and if you made fake symlinks to libjpeg before, be sure to delete them so they don't cause problems with the frontend. Whenever the LinHES guys get a new mplayer out (check by doing pacman -Sy, then pacman -Su, rather than pacman -Syu, actually that's a good idea in general), reverse the process before you update: Code: # rm /usr/bin/mplayer # rm /usr/bin/mencoder # mv /usr/bin/mplayer.orig_dist /usr/bin/mplayer # mv /usr/bin/mencoder.orig_dist /usr/bin/mencoder
Oh, and to the LinHES team: please don't forget to update mplayer-vdpau-nogui along with the regular mplayer package.
If anyone needs it, I could post a tarball with prebuilt versions of mplayer and mencoder if it ends up taking a while for the team to get the update out.
|
|
Top |
|
|