Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: SamK on December 06, 2011, 03:01:22 PM

Title: TC3.8.4 XMMS Missing Dependencies and Invalid ELF Header
Post by: SamK on December 06, 2011, 03:01:22 PM
Sound driver=OSS
Starting XMMS in a terminal produces an error message
Code: [Select]
libasound.so.2: cannot open shared object file: No such file or directory
libvorbis.so.2: cannot open shared object file: No such file or directory

ldd xmms
Code: [Select]
error while loading shared libraries: ./xmms invalid ELF header
   
Title: Re: TC3.8.4 XMMS Missing Dependencies and Invalid ELF Header
Post by: Jason W on December 06, 2011, 04:52:21 PM
Are you directly trying to play an ogg file in the terminal -  "xmms music.ogg" ?   I don't remember ever needing libasound installed to use xmms.  And xmms is a wrapper for xmms-bin.  xmms-bin would be the one to ldd.
Title: Re: TC3.8.4 XMMS Missing Dependencies and Invalid ELF Header
Post by: SamK on December 07, 2011, 01:37:21 AM
Are you directly trying to play an ogg file in the terminal -  "xmms music.ogg" ?
No, simply entering
Code: [Select]
xmms
...xmms is a wrapper for xmms-bin.  xmms-bin would be the one to ldd.
Code: [Select]
ldd /usr/local/bin/xmms-bin

linux-gate.so.1 =>  (0xb77a9000)
libgtk-1.2.so.0 => /usr/local/lib/libgtk-1.2.so.0 (0xb769f000)
libgdk-1.2.so.0 => /usr/local/lib/libgdk-1.2.so.0 (0xb7672000)
libgmodule-1.2.so.0 => /usr/local/lib/libgmodule-1.2.so.0 (0xb766f000)
libgthread-1.2.so.0 => /usr/local/lib/libgthread-1.2.so.0 (0xb766c000)
libglib-1.2.so.0 => /usr/local/lib/libglib-1.2.so.0 (0xb764d000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7640000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb753f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7538000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7524000)
libxmms.so.1 => /usr/local/lib/libxmms.so.1 (0xb7516000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7511000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb74f9000)
libdl.so.2 => /lib/libdl.so.2 (0xb74f5000)
libm.so.6 => /lib/libm.so.6 (0xb74cf000)
libc.so.6 => /lib/libc.so.6 (0xb738c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7388000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7383000)
/lib/ld-linux.so.2 (0xb77aa000)

A little more information...
This is a virgin frugal installation created on the day of the first post.  All extensions are freshly downloaded.  No missing dependencies are reported by Apps Audit.  Using boot codes base norestore produces identical results.
   
Title: Re: TC3.8.4 XMMS Missing Dependencies and Invalid ELF Header
Post by: Jason W on December 07, 2011, 02:17:18 PM
Ok, I will look more into it and hopefully fix it.
Title: Re: TC3.8.4 XMMS Missing Dependencies and Invalid ELF Header
Post by: Jason W on December 07, 2011, 02:30:20 PM
I see the error now when alsa is not installed.   I have not used OSS since there has been an alsa extension, so I would have not seen the error..  Xmms starts even in the presence of the error messages, but since it is looking for those libs I will add their extensions to the dep file.