diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-15 02:47:28 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-15 02:47:28 +0000 |
commit | 8a72cec9e1d3d21ef73c308bf46688eca8f9a1d7 (patch) | |
tree | ae321c075ded787531d5e93fde2a682ed4be85de | |
parent | 05621a40dce07f78828aeefef4857a043a431387 (diff) | |
download | mpv-8a72cec9e1d3d21ef73c308bf46688eca8f9a1d7.tar.bz2 mpv-8a72cec9e1d3d21ef73c308bf46688eca8f9a1d7.tar.xz |
How to make MPlayer work on Fedora core.
Based on a patch sent by Alex Eskin <alexeskin@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12027 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | DOCS/xml/en/faq.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/DOCS/xml/en/faq.xml b/DOCS/xml/en/faq.xml index e6ed6c2e59..d4b57e6fa6 100644 --- a/DOCS/xml/en/faq.xml +++ b/DOCS/xml/en/faq.xml @@ -626,6 +626,64 @@ problems. <application>MPlayer</application> will use its builtin one instead. <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> |