Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amazon releases Linux mp3 downloader
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
sts
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2007
Posts: 97

PostPosted: Sat Mar 01, 2008 7:25 pm    Post subject: Amazon releases Linux mp3 downloader Reply with quote

http://www.amazon.com/gp/dmusic/help/amd.html

Not sure how to install it on Gentoo (didn't try).

I'm just happy to see companies writing Linux software. Even thought it is closed source and I don't use it.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5689
Location: Removed by Neddy

PostPosted: Sat Mar 01, 2008 7:40 pm    Post subject: Reply with quote

mmm I guess the Fedora one and use rpm2tgz and layout the install to /opt
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Sat Mar 01, 2008 8:28 pm    Post subject: Reply with quote

amazon music store doesn't work in canada as far as I know :P
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Sat Mar 01, 2008 8:31 pm    Post subject: Re: Amazon releases Linux mp3 downloader Reply with quote

sts wrote:
I'm just happy to see companies writing Linux software. Even thought it is closed source and I don't use it.
++, but why is a specific "downloader" required for these things at all?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Sat Mar 01, 2008 8:37 pm    Post subject: Reply with quote

At least the SuSE version is linked against boost-1.33.1 libs specifically. That is so lame.
Code:
amazonmp3: error while loading shared libraries: libboost_date_time.so.1.33.1: cannot open shared object file: No such file or directory

Can you easily manipulate a binary with binutils or something to look for *.so instead of *.so.1.33.1?
Back to top
View user's profile Send private message
sts
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2007
Posts: 97

PostPosted: Sat Mar 01, 2008 8:52 pm    Post subject: Reply with quote

Voltago wrote:
At least the SuSE version is linked against boost-1.33.1 libs specifically. That is so lame.
Code:
amazonmp3: error while loading shared libraries: libboost_date_time.so.1.33.1: cannot open shared object file: No such file or directory

Can you easily manipulate a binary with binutils or something to look for *.so instead of *.so.1.33.1?

You can make a symlink.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Mar 01, 2008 9:00 pm    Post subject: Reply with quote

Got to install a whole lot of stuff, and then symlink too? :roll:
Code:
~> ldd =amazonmp3  | grep "not found"
   libgtkmm-2.4.so.1 => not found
   libgdkmm-2.4.so.1 => not found
   libatkmm-1.6.so.1 => not found
   libpangomm-1.4.so.1 => not found
   libcairomm-1.0.so.1 => not found
   libssl.so.6 => not found
   libboost_date_time.so.3 => not found
   libboost_signals.so.3 => not found
   libboost_iostreams.so.3 => not found
   libboost_thread-mt.so.3 => not found
   libcrypto.so.6 => not found
~>  locate libssl.so | grep /usr/lib
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/lib/libssl.so.0.9.8
/usr/lib/libssl.so
~> locate libcrypto.so | grep /usr/lib
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.0.9.8
How come their version of lib{crypto,ssl} is so high?
EDIT: This was from the fedora rpm
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
jdmulloy
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2004
Posts: 139
Location: Massachusetts, USA

PostPosted: Sat Mar 01, 2008 9:02 pm    Post subject: Reply with quote

Voltago wrote:
At least the SuSE version is linked against boost-1.33.1 libs specifically. That is so lame.
Code:
amazonmp3: error while loading shared libraries: libboost_date_time.so.1.33.1: cannot open shared object file: No such file or directory

Can you easily manipulate a binary with binutils or something to look for *.so instead of *.so.1.33.1?


Fake it out with a symlink.
_________________
Joe Mulloy | http://twitter.com/jdmulloy | Ron Paul in 2012! | 5-1-07 | Unban Playfool | Fire your "Too big to fail" bank http://moveyourmoney.info
Back to top
View user's profile Send private message
sts
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2007
Posts: 97

PostPosted: Sat Mar 01, 2008 9:03 pm    Post subject: Reply with quote

ppurka wrote:
Got to install a whole lot of stuff, and then symlink too? :roll:
Code:
~> ldd =amazonmp3  | grep "not found"
   libgtkmm-2.4.so.1 => not found
   libgdkmm-2.4.so.1 => not found
   libatkmm-1.6.so.1 => not found
   libpangomm-1.4.so.1 => not found
   libcairomm-1.0.so.1 => not found
   libssl.so.6 => not found
   libboost_date_time.so.3 => not found
   libboost_signals.so.3 => not found
   libboost_iostreams.so.3 => not found
   libboost_thread-mt.so.3 => not found
   libcrypto.so.6 => not found
~>  locate libssl.so | grep /usr/lib
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/lib/libssl.so.0.9.8
/usr/lib/libssl.so
~> locate libcrypto.so | grep /usr/lib
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.0.9.8
How come their version of lib{crypto,ssl} is so high?
EDIT: This was from the fedora rpm

No idea. Try the debian etch binary. I have the same version numbers as you and I'm on Debian. Fedora, for whatever reason, has different version numbers (I just checked their repo).
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Sat Mar 01, 2008 9:13 pm    Post subject: Reply with quote

Nah, won't make symlinks. I don't need that stuff that urgently anyway. Only I feel there should be some kind of packaging conformance checker for linux-inexperienced vendors to check for the most common mistakes: Specific linkage, releasing packages without version numbers, etc...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5689
Location: Removed by Neddy

PostPosted: Sat Mar 01, 2008 9:16 pm    Post subject: Reply with quote

Voltago wrote:
Nah, won't make symlinks. I don't need that stuff that urgently anyway. Only I feel there should be some kind of packaging conformance checker for linux-inexperienced vendors to check for the most common mistakes: Specific linkage, releasing packages without version numbers, etc...


yer. Its def best getting upstream to release binaries NOT linked against a specific version of a lib
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Sat Mar 01, 2008 9:29 pm    Post subject: Reply with quote

It appears to have been built on Debian Etch. Which is only three years behind the times!
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Sat Mar 01, 2008 10:43 pm    Post subject: Reply with quote

Monkeh wrote:
It appears to have been built on Debian Etch. Which is only three years behind the times!


:lol:
Back to top
View user's profile Send private message
ratmonkey
n00b
n00b


Joined: 13 Aug 2006
Posts: 15

PostPosted: Sat Mar 01, 2008 11:31 pm    Post subject: Reply with quote

Voltago wrote:
Only I feel there should be some kind of packaging conformance checker for linux-inexperienced vendors to check for the most common mistakes: Specific linkage, releasing packages without version numbers, etc...


Amazon builds almost all of it's own tools internally on Linux. They made the news some time ago when they dropped Sun and switched to RHEL, so I don't know if you can really call them inexperienced with Linux, just in software distribution.
Back to top
View user's profile Send private message
sdct989
n00b
n00b


Joined: 01 Jul 2004
Posts: 9

PostPosted: Mon Mar 03, 2008 8:47 pm    Post subject: Reply with quote

For anyone out there that's trying to install this I figured I would post up what worked for me. I should emphasize up front that this is very much a hack. Sym linking libraries like you will most likely have to do is almost always a bad thing, but if you really want to use the Amazon Downloader like I did it is really the only option afforded you. Hopefully someone else either as part of Gentoo or Amazon will find a better way to handle this.

First I downloaded the .deb file for Gutsy from this page http://www.amazon.com/gp/dmusic/help/amd.html From previous posts on this thread I figured that it would use libraries most similar to the ones Gentoo was going to provide

Then I used alien to convert it to an rpm and used rpm to unpack it into the correct directories
Code:

emerge alien
alien -r package-name.deb
rpm2cpio ./<created rpm file>.rpm | cpio -idv

* NOTE: if while alien is running you receive an error saying that you don't have "magic files" make sure that you are using the most current version of the "rpm" package (I had to use the unstable version masked by keyword ~x86) see https://bugs.gentoo.org/show_bug.cgi?id=153292 for more information
You can also get more information about installing packages from other distros at http://gentoo-wiki.com/TIP_install_programs_without_portage

From there I ran into several problems running the program

  • If you get something like the following:
    Code:
    /usr/bin/amazonmp3: error while loading shared libraries: libatkmm-1.6.so.1: cannot open shared object file: No such file or directory

    Then emerge "gtkmm" with the accessibility flag on

  • If you get errors about loading shared boost libraries like the following (also mentioned above):
    Code:
    /usr/bin/amazonmp3: error while loading shared libraries: libboost_date_time-gcc41-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory

    Then emerge "boost" (preferably 1.34.1 because that's what Amazon was basing their versions off of, I used 1.34.1-r2 and that worked for me) and make the following sym links
    Code:

    ln -s /usr/lib/libboost_date_time.so /usr/lib/libboost_date_time-gcc41-1_34_1.so.1.34.1
    ln -s /usr/lib/libboost_signals.so /usr/lib/libboost_signals-gcc41-1_34_1.so.1.34.1
    ln -s /usr/lib/libboost_iostreams.so /usr/lib/libboost_iostreams-gcc41-1_34_1.so.1.34.1
    ln -s /usr/lib/libboost_thread.so /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1

Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1432

PostPosted: Tue Mar 04, 2008 12:05 am    Post subject: Re: Amazon releases Linux mp3 downloader Reply with quote

Hopeless wrote:
sts wrote:
I'm just happy to see companies writing Linux software. Even thought it is closed source and I don't use it.
++, but why is a specific "downloader" required for these things at all?

The only thing it's actually required for is album downloads...for single mp3 files you don't need anything. However I agree totally...there's no reason they couldn't generate album downloads as a zip or something.

I'd actually sort of like to buy the new NIN, but it's only available as an album download. I'm not sure I'm in the mood for hacking my system with lib symlinks etc.

Tom
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Mar 04, 2008 1:10 am    Post subject: Reply with quote

sdct989 I used the fedora installation and used rpm2targz which does not require installation of any unstable/latest package. It is running quite fine. This is the final "log" file of the modifications I had to make:
Code:
installed glibmm, cairomm, gtkmm
installed boost-build, boost

(linked the corresponding <library>.so to the following
        /usr/lib/libssl.so.6
        /usr/lib/libboost_date_time.so.3
        /usr/lib/libboost_signals.so.3
        /usr/lib/libboost_iostreams.so.3
        /usr/lib/libboost_thread-mt.so.3
        /usr/lib/libcrypto.so.6
This can probably be automated through an ebuild. I will probably try my hand at writing one, when I get some more time at hand. At present I have dumped the entire amazonmp3 directory to /opt :P
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
sts
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2007
Posts: 97

PostPosted: Tue Mar 04, 2008 2:11 am    Post subject: Re: Amazon releases Linux mp3 downloader Reply with quote

tld wrote:
I'd actually sort of like to buy the new NIN, but it's only available as an album download. I'm not sure I'm in the mood for hacking my system with lib symlinks etc.

Tom

http://ghosts.nin.com

You can get it direct from the source.

EDIT: The downloads are down for now (too much traffic), but NIN uploaded it to The Pirate Bay.

This is cool, though:
Quote:
We encourage you to share the music of Ghosts I with your friends, post it on your website, play it on your podcast, use it for video projects, etc. It\\\'s licensed for all non-commercial use under Creative Commons.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1432

PostPosted: Tue Mar 04, 2008 2:17 am    Post subject: Reply with quote

I think that what they put our on BT is just part 1 of 4 parts. And yea...I noticed that they're selling it directly on their site...in flac too. I think I'll do that when the mad rush slows.

Tom
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9273

PostPosted: Mon Mar 10, 2008 6:02 am    Post subject: Reply with quote

Split off topic "here's a basic Amazon MP3 Downloader ebuild that works".
Back to top
View user's profile Send private message
version7
n00b
n00b


Joined: 27 Sep 2009
Posts: 0

PostPosted: Sun Sep 27, 2009 9:06 am    Post subject: Wine? Reply with quote

I downloaded the windows version and ran it through Wine. It works, but it's has issues. Clicking any of the menus minimizes it to the system tray and it won't go back to windowed mode. So you have to right click the .amz file and then open with the downloader via Wine. It then minimizes immediately but the download does complete and it ends up in your ~/Amazon Mp3 folder.

It would be great if the dependency issues could be resolved and a portage package created
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Jan 26, 2011 4:30 pm    Post subject: Reply with quote

*subscribes*

gotta buy some albums from amazon in the near future

so subscribed here for reference
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 852
Location: Germany

PostPosted: Wed Jan 26, 2011 4:41 pm    Post subject: Reply with quote

I use clamz for downloading from amazon.
There's an ebuild in portage that works nicely.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18084

PostPosted: Wed Jan 26, 2011 4:51 pm    Post subject: Reply with quote

Are they offering uncompressed or FLAC/lossless?
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum