[MPlayer-dev-eng] compiling 1.0pre3 statically

Benjamin Schieder benjamin.schieder at bingo-ev.de
Mon Jan 19 14:54:00 CET 2004


Hi *.                                                                                                                                                                                  
I already asked this question on the -users mailinglist, but seems
like I was on the wrong list there, that's why I try asking here
again.
                                                                                                                                                                                       
I have some trouble compiling 1.0pre3 statically on a Linux-system.                                                                                                                    
The following line was used to configure the build:                                                                                                                                    
./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib \                                                                                                                        
--datadir=/usr/share --mandir=/usr/man --enable-static --prefix=/usr \                                                                                                                 
--confdir=/etc/mplayer --enable-menu --enable-linux-devfs \                                                                                                                            
--with-extraincdir=/usr/include/libpng --enable-fbdev \                                                                                                                                
--enable-largefiles --enable-shared-pp --with-win32libdir=/usr/lib/win32 \                                                                                                             
--enable-runtime-cpudetection --disable-i18n                                                                                                                                           
                                                                                                                                                                                       
The resulting binary looks like it was linked statically, but isn't:                                                                                                                   
root at fuzzy:/usr/src/trunk/build/lvp-2.0.0-rc5-x86-lvp_boot-expert/root/usr/bin# ls -l mplayer                                                                                          
-rwxr-xr-x    1 root     root      6007684 Jan 17 14:34 mplayer                                                                                                                        
root at fuzzy:/usr/src/trunk/build/lvp-2.0.0-rc5-x86-lvp_boot-expert/root/usr/bin# file mplayer                                                                                           
mplayer: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped                                                
root at fuzzy:/usr/src/trunk/build/lvp-2.0.0-rc5-x86-lvp_boot-expert/root/usr/bin#                                                                                                        
                                                                                                                                                                                       
Upon running this binary I get:                                                                                                                                                        
root at fuzzy:/usr/src/trunk/build/lvp-2.0.0-rc5-x86-lvp_boot-expert/root# chroot .                                                                                                       
bash-2.05b# mplayer                                                                                                                                                                    
bash: /usr/bin/mplayer: No such file or directory                                                                                                                                      
bash-2.05b#                                                                                                                                                                            
                                                                                                                                                                                       
XFree 4.3.99.902 was built statically and works just fine, as well as other                                                                                                            
programs.                                                                                                                                                                              
                                                                                                                                                                                       
Unfortunately, I haven't found hints to compiling statically in the                                                                                                                    
documentation and both [ :) ] FAQs.                                                                                                                                                    
                                                                                                                                                                                       
However there seem to be binary packages of mplayer 0.90-something available.                                                                                                          
Is statically linking broken at the moment or something?                                                                                                                               
                                                                                                                                                                                       
I'm thankful for every hint!                                                                                                                                                           
                                                                                                                                                                                       
                                                                                                                                                                                       
Thanks in advance                                                                                                                                                                      
        Benjamin                                                                                                                                                                       




More information about the MPlayer-dev-eng mailing list