I have installed amazonmp3 in the past. Today I tried to use it, but firefox wouldn't let me (it said error when opening it). I then tried to launch amazonmp3 manually, and it wouldn't launch.
The key confusing part being:
Code:
computername:~/install$ /usr/bin/amazonmp3
bash: /usr/bin/amazonmp3: No such file or directory
computername:~/install$ ls -l /usr/bin/amazonmp3
-rwxr-xr-x 1 root root 668208 2008-03-01 13:19 /usr/bin/amazonmp3
computername:~/install$ file /usr/bin/amazonmp3
/usr/bin/amazonmp3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
The file is there, and has information in it (as seen by file, or say 'strings /usr/bin/amazonmp3' and isn't a link or hard-link. I can uninstall amazonmp3, it goes away, and then reinstall it and it comes back, but I still get "bash: /usr/bin/amazonmp3: No such file or directory".
I should add that I am using 64 bit (x86_64) ubuntu 8.10, so installing is a little more complicated then normal. My first thought was to try uninstalling everything related, and reinstalling it again. I then uninstalled (dpkg --purge) both amazonmp3, getlibs and ia32-libs (and associated 32 bit libraries), and tried reinstalling from scratch, following the procedure outlined elsewhere (e.g., here, here) for installing amazonmp3 in 64 bit ubuntu. Installation seems to work fine, but the application won't launch as bash claims it can't find the executable.
Here's detailed explanation of what what I did to reinstall.
First, take the ubuntu 7.04 version from amazon.com (I am running 8.10 but that shouldn't make a difference).
Second, use the getlibs script:
http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs
to install the dependencies:
Code:
computername:~/install$ sudo dpkg -i --force-architecture amazonmp3.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package amazonmp3.
(Reading database ... 179939 files and directories currently installed.)
Unpacking amazonmp3 (from amazonmp3.deb) ...
Setting up amazonmp3 (1.0.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
computername:~/install$ file /usr/bin/amazonmp3
/usr/bin/amazonmp3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
computername:~/install$ /usr/bin/amazonmp3
bash: /usr/bin/amazonmp3: No such file or directory
computername:~/install$ which amazonmp3
/usr/bin/amazonmp3
computername:~/install$ amazonmp3
bash: /usr/bin/amazonmp3: No such file or directory
computername:~/install$ sudo getlibs /usr/bin/amazonmp3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lib32asound2 lib32ncurses5 lib32z1
The following NEW packages will be installed:
ia32-libs lib32asound2 lib32ncurses5 lib32z1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 395kB/23.8MB of archives.
After this operation, 109MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu.media.mit.edu intrepid/main lib32z1 1:1.2.3.3.dfsg-12ubuntu1 [75.6kB]
Get:2 http://ubuntu.media.mit.edu intrepid/main lib32asound2 1.0.17a-0ubuntu4 [320kB]
Fetched 395kB in 1s (258kB/s)
Selecting previously deselected package lib32z1.
(Reading database ... 179952 files and directories currently installed.)
Unpacking lib32z1 (from .../lib32z1_1%3a1.2.3.3.dfsg-12ubuntu1_amd64.deb) ...
Selecting previously deselected package lib32asound2.
Unpacking lib32asound2 (from .../lib32asound2_1.0.17a-0ubuntu4_amd64.deb) ...
Selecting previously deselected package lib32ncurses5.
Unpacking lib32ncurses5 (from .../lib32ncurses5_5.6+20071124-1ubuntu2_amd64.deb) ...
Selecting previously deselected package ia32-libs.
Unpacking ia32-libs (from .../ia32-libs_2.2ubuntu18_amd64.deb) ...
Setting up lib32z1 (1:1.2.3.3.dfsg-12ubuntu1) ...
Setting up lib32asound2 (1.0.17a-0ubuntu4) ...
Setting up lib32ncurses5 (5.6+20071124-1ubuntu2) ...
Setting up ia32-libs (2.2ubuntu18) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
This application isn't missing any dependencies
computername:~/install$ /usr/bin/amazonmp3
bash: /usr/bin/amazonmp3: No such file or directory
computername:~/install$ ls -l /usr/bin/amazonmp3
-rwxr-xr-x 1 root root 668208 2008-03-01 13:19 /usr/bin/amazonmp3
I then installed it on another 64 bit computer (my laptop) where it installed on the first try with no problems, and was able to send myself to link to download the album I bought. But it still bothers me ...
Also for anyone who thinks this is a bash problem (like I have an alias somewhere), (da)sh can't find the file either.
Code:
computername:~$ sh
$ amazonmp3
sh: amazonmp3: not found
$ /usr/bin/amazonmp3
sh: /usr/bin/amazonmp3: not found
$ cd /usr/bin
$ ls -l amazonmp3
-rwxr-xr-x 1 root root 668208 2008-03-01 13:19 amazonmp3
$ /usr/bin/amazonmp3
sh: /usr/bin/amazonmp3: not found
$ file /usr/bin/amazonmp3
/usr/bin/amazonmp3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
$
Bookmarks