Fedora Linux Support Community & Resources Center
  #1  
Old 29th May 2010, 08:56 AM
trigpoint Offline
Registered User
 
Join Date: Dec 2004
Location: Shropshire, UK
Posts: 699
linuxfedorafirefox
Amazon MP3 in Fedora 13

Has anyone had any luck getting the Fedora 12 version of amazonmp3 to install in Fedora 13.

I have tried the usual tricks of creating symbolic links for the boost libraries, but to no avail.

Any ideas?
Reply With Quote
  #2  
Old 29th May 2010, 10:01 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,713
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

Maybe something here that might help. I didn't read the whole thread, just remembered seeing something about Amazon MP3 a while back.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 31st May 2010, 03:42 PM
juheimbu Offline
Registered User
 
Join Date: May 2010
Posts: 12
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

I tried the F12 hack, but I'm still getting a core dump when it tries to start up the Amazon mp3 downloader, so I suspect the boost libs have changed.
Reply With Quote
  #4  
Old 1st June 2010, 12:43 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,652
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

I just managed to get the Amazon MP3 downloader working in F13.

Some of the dependencies can be installed, but not all (since they'd conflict with the F13 versions). I tried installing amazonmp3 anyway with the --nodeps option and doing the symbolic link trick with the F13 libraries. But it didn't work for me, I got a segfault like others here have mentioned.

So instead I went about it a different way. I downloaded the following F11 packages which the amazonmp3 RPM depends on:

boost-1.37.0-6.fc11.i586.rpm
libicu-4.0.1-3.fc11.i586.rpm
openssl-0.9.8k-1.fc11.i686.rpm

I didn't want to install those, since they'd replace the F13 versions. So I simply extracted the required individual libraries from those packages and put them in /usr/local/lib (which I have listed in a conf file in the /etc/ld.so.conf.d/ directory). Specifically, I put these files in /usr/local/lib (the arrows indicate symbolic links):
Code:
libboost_thread-mt.so.4 -> libboost_thread-mt.so.1.37.0
libboost_thread-mt.so.1.37.0
libboost_system.so.4 -> libboost_system.so.1.37.0
libboost_system.so.1.37.0
libboost_signals.so.4 -> libboost_signals.so.1.37.0
libboost_signals.so.1.37.0
libboost_regex.so.4 -> libboost_regex.so.1.37.0
libboost_regex.so.1.37.0
libboost_iostreams.so.4 -> libboost_iostreams.so.1.37.0
libboost_iostreams.so.1.37.0
libboost_filesystem.so.4 -> libboost_filesystem.so.1.37.0
libboost_filesystem.so.1.37.0
libboost_date_time.so.4 -> libboost_date_time.so.1.37.0
libboost_date_time.so.1.37.0
libcrypto.so.8 -> libcrypto.so.0.9.8k
libcrypto.so.0.9.8k
libicuuc.so.40 -> libicuuc.so.40.1
libicuuc.so.40.1
libicui18n.so.40 -> libicui18n.so.40.1
libicui18n.so.40.1
libicudata.so.40 -> libicudata.so.40.1
libicudata.so.40.1
Because these versions have different names than the F13 versions, they won't cause any conflict. I used rpm2cpio and cpio to extract the files. In my Downloads directory where the RPMs were, I just did this:
Code:
rpm2cpio boost-1.37.0-6.fc11.i586.rpm|cpio -ivd
rpm2cpio openssl-0.9.8k-1.fc11.i686.rpm|cpio -ivd
rpm2cpio libicu-4.0.1-3.fc11.i586.rpm|cpio -ivd
That created a usr directory under Downloads, so I cd'ed into ~/Downloads/usr/lib and then copied the necessary files to /usr/local/lib, then I ran ldconfig. I was then able to run amazonmp3 and download an mp3 album; here is a pic of it running on my F13 system. It works great.
Reply With Quote
  #5  
Old 2nd June 2010, 04:03 PM
juheimbu Offline
Registered User
 
Join Date: May 2010
Posts: 12
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

That worked for me, too.

I actually did it a bit more broadly, by copying everything from where I extracted the rpms to /usr/local/lib. Using cp -P kept the symlinks, and everything was there.

Thanks for your help!

Justin
Reply With Quote
  #6  
Old 2nd June 2010, 10:21 PM
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 452
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

There is also the clamz solution. It's a command line Amazon MP3 downloader.

http://code.google.com/p/clamz/

Ron Rogers Jr. (CronoCloud)
Reply With Quote
  #7  
Old 30th June 2010, 04:18 PM
madopal Offline
Registered User
 
Join Date: Nov 2004
Location: Chicago, IL, USA
Posts: 84
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

BTW, it appears they broke clamz. I had used the link to get it to manually download the .amz files, but that no longer seems to work. It just sends me back to the "you must download the Amazon MP3 downloader" download page.

Anyone else use clamz since Amazon's wonkiness yesterday? I downloaded an album earlier this week using clamz, but today it's borked.
Reply With Quote
  #8  
Old 30th June 2010, 11:58 PM
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 452
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

Quote:
Originally Posted by madopal View Post
I had used the link to get it to manually download the .amz files, but that no longer seems to work. It just sends me back to the "you must download the Amazon MP3 downloader" download page.
Check your cookies, amazon sets one if you tell it you want the amz's.

Quote:
Anyone else use clamz since Amazon's wonkiness yesterday? I downloaded an album earlier this week using clamz, but today it's borked.
Working fine for me, with single songs anyway....let me grab a free album. Yep, working fine.

Ron Rogers Jr. (CronoCloud)
Reply With Quote
  #9  
Old 14th July 2010, 08:11 PM
dedanna1029 Offline
Registered User
 
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

Quote:
Originally Posted by RupertPupkin View Post
I just managed to get the Amazon MP3 downloader working in F13.

Some of the dependencies can be installed, but not all (since they'd conflict with the F13 versions). I tried installing amazonmp3 anyway with the --nodeps option and doing the symbolic link trick with the F13 libraries. But it didn't work for me, I got a segfault like others here have mentioned.

So instead I went about it a different way. I downloaded the following F11 packages which the amazonmp3 RPM depends on:

boost-1.37.0-6.fc11.i586.rpm
libicu-4.0.1-3.fc11.i586.rpm
openssl-0.9.8k-1.fc11.i686.rpm

I didn't want to install those, since they'd replace the F13 versions. So I simply extracted the required individual libraries from those packages and put them in /usr/local/lib (which I have listed in a conf file in the /etc/ld.so.conf.d/ directory). Specifically, I put these files in /usr/local/lib (the arrows indicate symbolic links):
Code:
libboost_thread-mt.so.4 -> libboost_thread-mt.so.1.37.0
libboost_thread-mt.so.1.37.0
libboost_system.so.4 -> libboost_system.so.1.37.0
libboost_system.so.1.37.0
libboost_signals.so.4 -> libboost_signals.so.1.37.0
libboost_signals.so.1.37.0
libboost_regex.so.4 -> libboost_regex.so.1.37.0
libboost_regex.so.1.37.0
libboost_iostreams.so.4 -> libboost_iostreams.so.1.37.0
libboost_iostreams.so.1.37.0
libboost_filesystem.so.4 -> libboost_filesystem.so.1.37.0
libboost_filesystem.so.1.37.0
libboost_date_time.so.4 -> libboost_date_time.so.1.37.0
libboost_date_time.so.1.37.0
libcrypto.so.8 -> libcrypto.so.0.9.8k
libcrypto.so.0.9.8k
libicuuc.so.40 -> libicuuc.so.40.1
libicuuc.so.40.1
libicui18n.so.40 -> libicui18n.so.40.1
libicui18n.so.40.1
libicudata.so.40 -> libicudata.so.40.1
libicudata.so.40.1
Because these versions have different names than the F13 versions, they won't cause any conflict. I used rpm2cpio and cpio to extract the files. In my Downloads directory where the RPMs were, I just did this:
Code:
rpm2cpio boost-1.37.0-6.fc11.i586.rpm|cpio -ivd
rpm2cpio openssl-0.9.8k-1.fc11.i686.rpm|cpio -ivd
rpm2cpio libicu-4.0.1-3.fc11.i586.rpm|cpio -ivd
That created a usr directory under Downloads, so I cd'ed into ~/Downloads/usr/lib and then copied the necessary files to /usr/local/lib, then I ran ldconfig. I was then able to run amazonmp3 and download an mp3 album; here is a pic of it running on my F13 system. It works great.
Saw this, thinking there might be some hope, as I've been trying to get it to work on Fedora 13 since I installed it when it came out. I'm getting this after trying, perhaps you can tell me what I'm missing? Thanks a bunch.

Code:
$ amazonmp3
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
Reply With Quote
  #10  
Old 15th July 2010, 01:29 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,652
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

Which version of the amazonmp3 package are you using? I'm using version 1.0.9, which does not require being linked to libboost_date_time-gcc41-1_34_1.so.1.34.1. You can find out the version by doing "rpm -qip amazonmp3.rpm" in the directory where the RPM file is located.
Reply With Quote
  #11  
Old 15th July 2010, 03:37 AM
dedanna1029 Offline
Registered User
 
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42
linuxmozilla
Re: Amazon MP3 in Fedora 13

Code:
# rpm -qa | grep amazonmp3
amazonmp3-1.0.9-1.i686
I'm getting a different error now:
Code:
$ amazonmp3
amazonmp3: error while loading shared libraries: libboost_regex.so.4: cannot open shared object file: No such file or directory
What's disappointing here, is all the copying/symlinking that I did earlier today was all for naught.

Code:
$ ls /usr/lib | grep libboost_regex.so.4
libboost_regex.so.4
Code:
$ ls /usr/local/lib | grep libboost_regex.so.4
libboost_regex.so.4
I put it in both just in case.

I've got to be doing something wrong somewhere. It's just finding it that's the pig.

Thanks.
Reply With Quote
  #12  
Old 15th July 2010, 10:28 PM
parish Offline
Registered User
 
Join Date: Feb 2005
Posts: 595
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

I was able to get amazonmp3 working using RupertPupkin directions. To recap

Downloaded boost-1.37.0-6.fc11.i586.rpm, libicu-4.0.1-3.fc11.i586.rpm, and openssl-0.9.8k-1.fc11.i686.rpm.

Extracted the rpms:
rpm2cpio boost-1.37.0-6.fc11.i586.rpm | cpio -ivd
rpm2cpio openssl-0.9.8k-1.fc11.i686.rpm | cpio -ivd
rpm2cpio libicu-4.0.1-3.fc11.i586.rpm | cpio -ivd

Copied the missing library files from the extracted rpms to the directory /usr/local/lib/amazonmp3 (didn't bother with symbolic links, just renamed them to what amazonmp3 wants), which now contains:
libboost_date_time.so.4
libboost_filesystem.so.4
libboost_iostreams.so.4
libboost_regex.so.4
libboost_signals.so.4
libboost_system.so.4
libboost_thread-mt.so.4
libcrypto.so.8
libicudata.so.40
libicui18n.so.40
libicuuc.so.40

Created a file /etc/ld.so.conf.d/amazonmp3.conf containing the single line:

/usr/local/lib/amazonmp3

and then issued the command ldconfig.

Seems to be working.
Reply With Quote
  #13  
Old 16th July 2010, 07:19 AM
dedanna1029 Offline
Registered User
 
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42
linuxfedoramozilla
Re: Amazon MP3 in Fedora 13

Quote:
Originally Posted by parish View Post
Created a file /etc/ld.so.conf.d/amazonmp3.conf containing the single line:

/usr/local/lib/amazonmp3
There's the step I missed! Thank you! Will try it in the morning!
Reply With Quote
  #14  
Old 21st July 2010, 12:29 PM
dedanna1029 Offline
Registered User
 
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

I had to reinstall F13 the other day, so restarted with this fresh.

Whenever I run ldconfig, the files disappear from /usr/local/lib/amazonmp3, and when I go to start amazonmp3, it can't find them, so won't start.

I've done the last step as well:
Code:
# cat /etc/ld.so.conf.d/amazonmp3.conf
/usr/local/lib/amazonmp3
I am not really clear on ldconfig or what it's supposed to do.

Any clue what's going on here? Thanks.
Reply With Quote
  #15  
Old 21st July 2010, 02:41 PM
parish Offline
Registered User
 
Join Date: Feb 2005
Posts: 595
linuxfedorafirefox
Re: Amazon MP3 in Fedora 13

Quote:
Originally Posted by dedanna1029 View Post
I had to reinstall F13 the other day, so restarted with this fresh.

Whenever I run ldconfig, the files disappear from /usr/local/lib/amazonmp3, and when I go to start amazonmp3, it can't find them, so won't start.

I've done the last step as well:
Code:
# cat /etc/ld.so.conf.d/amazonmp3.conf
/usr/local/lib/amazonmp3
I am not really clear on ldconfig or what it's supposed to do.

Any clue what's going on here? Thanks.
Sorry I don't know what the problem is. I can only say that ldconfig should not be deleting anything and does not on my (Fedora 13) system. You're positive that the libraries were present in /usr/local/lib/amazonmp3 before you ran ldconfig?

From the ldconfig man page:

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and filenames of the libraries it encounters when determining which versions should have their links updated. <...snip>
Reply With Quote
Reply

Tags
amazon, fedora, mp3

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon rosswmcgee Using Fedora 8 7th May 2010 07:09 PM
Fedora versions on Amazon EC2 2beers Using Fedora 6 16th February 2010 12:25 AM
workaround: installing amazon mp3 downloader with fedora 9 GoneSouth Using Fedora 6 27th January 2009 11:37 AM
Amazon Downloader 64 bit i_ata89 Using Fedora 0 30th December 2008 05:14 PM
Amazon Web Services (AWS) Fedora 8/SSH matthewclower Using Fedora 1 18th February 2008 09:20 PM


Current GMT-time: 23:53 (Friday, 19-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat