Why do I have to use LD_ASSUME_KERNEL=2.2.5

Net Llama! netllama
Mon May 17 11:56:37 PDT 2004


On 12/06/03 19:52, James McDonald wrote:

> I recently found that mplayer was segfaulting every time I launched it 
> under my 2.6.test10 kernel. I thought it may have been a bodgy fedora 
> mplayer_1.0-0.2.pre2.fr_i386.rpm but when I uninstalled it and compiled 
> mplayer from source I had the same segfault problem.
> 
> However if I export LD_ASSUME_KERNEL=2.2.5 it works.
> 
> My standard install of rpm which is rpm-4.2-0.69 also will not work 
> unless the above is in the environment.
> 
> Can anyone explain If there is any way to compile these apps under a 2.6 
> kernel so that I don't need to use the LD_ASSUME_KERNEL option when 
> using them.
> 
> I have ended up making the LD_ASSUME_KERNEL=2.2.5 system wide 
> environment but don't know if this is a bad thing or not.

Its not the kernel, its the NPTL support in glibc.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   8:20pm  up  1:10,  1 user,  load average: 0.21, 0.15, 0.05


More information about the Linux-users mailing list