Bug 12902 - Incorrect version of flac installed
: Incorrect version of flac installed
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 7.3.3
: Other Ubuntu Linux
: -- major (vote)
: 7.3.4
Assigned To: Andy Grundman
http://forums.slimdevices.com/showpos...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-16 15:58 UTC by Jim Willsher
Modified: 2009-09-29 12:57 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Willsher 2009-07-16 15:58:09 UTC

    
Comment 1 Jim Willsher 2009-07-16 16:02:34 UTC
Version 7.3.3 installed from Debian repository

deb http://debian.slimdevices.com stable main

via apt-get install squeezecenter.

root@redleg:~# uname -a
Linux redleg.jimwillsher.co.uk 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64 GNU/Linux

7.3.3 installs a new copy of flac to /usr/share/squeezecenter/Bin/i386-linux. However this seems to be only for x68 processors.

root@redleg:~# file /usr/share/squeezecenter/Bin/i386-linux/flac
/usr/share/squeezecenter/Bin/i386-linux/flacSave: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped

whereas the version installed via "apt-get install flac" is for the correct architecture

root@redleg:~# file /usr/bin/flac
/usr/bin/flac: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped


This prevents RTSP streaming (e.g. AlienBBC) from functioning.


Removing the version in /usr/share/squeezecenter/Bin/i386-linux and symlinking to the version in /usr/bin overcomes the problem.
Comment 2 Jim Willsher 2009-07-16 16:04:45 UTC
Of course I mean x86 not x68. No edit facility?

For clarification, I'm running x64 Linux (Ubuntu Server 9.04) but 7.3.3 SC installs x86-only version of flac.
Comment 3 Andy Grundman 2009-07-20 09:29:08 UTC
So how come the 32-bit binary we ship doesn't run on your system?  It runs OK on my 64-bit Debian test box.
Comment 4 Jim Willsher 2009-07-20 09:37:59 UTC
Hi, no idea why it doesnt run for me.

root@redleg:/usr/share/squeezecenter/Bin/i386-linux# uname -a
Linux redleg.jimwillsher.co.uk 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64 GNU/Linux


When I try to run it I immediately get an error as though it's not there:

root@redleg:/usr/share/squeezecenter/Bin/i386-linux# ls -al
total 5752
drwxr-xr-x 2 root root    4096 2009-07-20 17:33 .
drwxr-xr-x 3 root root    4096 2009-06-29 11:49 ..
-rwxr-xr-x 1 root root  491656 2009-06-15 23:12 alac
-rwxr-xr-x 1 root root  282620 2009-06-15 23:12 faad
-rwxr-xr-x 2 root root  219504 2008-06-22 00:07 flac
-rwxr-xr-x 1 root root  480836 2009-06-15 23:12 flac.old
-rwxr-xr-x 1 root root  432260 2009-06-15 23:12 mppdec
-rwxr-xr-x 1 root root 3757624 2009-06-15 23:12 sox
-rwxr-xr-x 1 root root  172904 2009-06-15 23:12 wvunpack

root@redleg:/usr/share/squeezecenter/Bin/i386-linux# ./flac.old
-bash: ./flac.old: No such file or directory

root@redleg:/usr/share/squeezecenter/Bin/i386-linux# file flac.old
flac.old: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped


All I know is that it won't run. Sorry, I'm a novice on Linux....
Comment 5 Jim Willsher 2009-07-20 09:40:59 UTC
Could it be that you have 32-bit shared libraries installed, and I don't?
Comment 6 Jim Willsher 2009-07-20 09:52:52 UTC
Sorry, me again...

is this thread relevant?

http://ubuntuforums.org/archive/index.php/t-65635.html

running    apt-get install i32-libs      does solve the problem....



Jim
Comment 7 Jim Willsher 2009-07-20 09:53:05 UTC
sorry, ia32-libs
Comment 8 Matt Wise 2009-07-20 09:54:31 UTC
You always have to have 32bit libraries installed in order to run a  
32bit binary.
Comment 9 Andy Grundman 2009-07-20 09:57:13 UTC
Can you run:

ldd flac.old
Comment 10 Andy Grundman 2009-07-20 09:58:23 UTC
OK I guess that's an Ubuntu bug then, that should probably be a package that's installed by default.
Comment 11 Jim Willsher 2009-07-20 09:58:43 UTC
root@redleg:/usr/share/squeezecenter/Bin/i386-linux# ldd flac.old
        not a dynamic executable