Mercurial > mplayer.hg
changeset 12026:252b9e2f7417
How to make MPlayer work on Fedora core.
Based on a patch sent by Alex Eskin <alexeskin@yahoo.com>
author | diego |
---|---|
date | Mon, 15 Mar 2004 02:47:28 +0000 |
parents | 124734dc7c66 |
children | 210e474436d3 |
files | DOCS/xml/en/faq.xml |
diffstat | 1 files changed, 58 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/en/faq.xml Mon Mar 15 01:46:03 2004 +0000 +++ b/DOCS/xml/en/faq.xml Mon Mar 15 02:47:28 2004 +0000 @@ -626,6 +626,64 @@ <qandaentry> <question><para> +Why doesn't <application>MPlayer</application> work on Fedora Core? +</para></question> +<answer><para> +There is a bad interaction on Fedora between exec-shield, +prelink, and any applications which use Windows DLLs +(such as <application>MPlayer</application>). +</para> +<para> +The problem is that exec-shield randomizes the load addresses of all the +system libraries. This randomization happens at prelink time (once every +two weeks). +</para> +<para> +When <application>MPlayer</application> tries to load a Windows DLL it +wants to put it at a specific address (0x400000). If an important system +library happens to be there already, MPlayer will crash. +(A typical symptom would be a segmentation fault when trying +to play Windows Media 9 files.) +</para> +<para> +If you run into this problem you have two options: +<itemizedlist> +<listitem><para>Wait two weeks. It might start working again.</para></listitem> +<listitem><para>Relink all the binaries on the system with different +prelink options. Here are step by step instructions:</para> +<para> +<orderedlist> +<listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> +<para> +<programlisting> +PRELINK_OPTS=-mR +</programlisting> +</para> +<para> +to +<programlisting> +PRELINK_OPTS="-mR --no-exec-shield" +</programlisting> +</para> +</listitem> +<listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> +<listitem><para><command>/etc/cron.daily/prelink</command> +(This relinks all the applications, and it takes +quite a while.)</para></listitem> +<listitem> +<para><command>execstack -s <replaceable>/path/to/</replaceable>mplayer</command> +(This turns off execshield for the <application>MPlayer</application> binary.) +</para> +</listitem> +</orderedlist> +</para> +</listitem> +</itemizedlist> +</para></answer> +</qandaentry> + +<qandaentry> +<question><para> ... works with <application>xine/avifile/...</application> but doesn't with <application>MPlayer</application>. </para></question>