mplayer prelink
Timothy Sandel
timothy at jupiter.stcl.edu
Fri May 7 23:10:50 UTC 2004
Mplayer works for me.
I have these rpm's installed:
mplayer-1.0pre3-1.i386.rpm
mplayer-codecs-extralite-1.0-1.i386.rpm
mplayer-common-1.0pre3-1.i386.rpm
mplayer-gui-1.0pre3-1.i386.rpm
mplayerplug-in-2.60-fc1.i386.rpm
mplayer-skin-default-1.0-2.noarch.rpm
lame-3.93.1-3.fr.i386.rpm
Timothy
On Fri, 2004-05-07 at 17:34, Alex Thomsen Leth wrote:
> i found this on the mplayer faq:
>
> Q:
>
> Why doesn't MPlayer work on Fedora Core?
>
> A:
>
> There is a bad interaction on Fedora between exec-shield, prelink, and
> any applications which use Windows DLLs (such as MPlayer).
>
> 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).
>
> When MPlayer 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.)
>
> If you run into this problem you have two options:
>
> * Wait two weeks. It might start working again.
>
> * Relink all the binaries on the system with different prelink
> options. Here are step by step instructions:
>
> 1. Edit /etc/syconfig/prelink and change
>
> PRELINK_OPTS=-mR
>
> to
>
> PRELINK_OPTS="-mR --no-exec-shield"
>
> 2. touch /var/lib/misc/prelink.force
>
> 3. /etc/cron.daily/prelink (This relinks all the
> applications, and it takes quite a while.)
>
> 4. execstack -s /path/to/mplayer (This turns off
> exec-shield for the MPlayer binary.)
>
>
>
>
> why isnt these settings made by default. mplayer does'nt work well
> without these settings
>
> Alex Thomsen Leth
>
More information about the fedora-test-list
mailing list