 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

29th May 2010, 08:56 AM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Shropshire, UK
Posts: 676

|
|
|
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?
|

29th May 2010, 10:01 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
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 © ®
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
|

31st May 2010, 03:42 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 12

|
|
|
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.
|

1st June 2010, 12:43 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,616

|
|
|
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.
|

2nd June 2010, 04:03 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 12

|
|
|
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
|

2nd June 2010, 10:21 PM
|
 |
Registered User
|
|
Join Date: May 2010
Location: Midwest USA
Posts: 370

|
|
|
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)
|

30th June 2010, 04:18 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Chicago, IL, USA
Posts: 82

|
|
|
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.
|

30th June 2010, 11:58 PM
|
 |
Registered User
|
|
Join Date: May 2010
Location: Midwest USA
Posts: 370

|
|
|
Re: Amazon MP3 in Fedora 13
Quote:
Originally Posted by madopal
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)
|

14th July 2010, 08:11 PM
|
|
Registered User
|
|
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42

|
|
|
Re: Amazon MP3 in Fedora 13
Quote:
Originally Posted by RupertPupkin
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
|

15th July 2010, 01:29 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,616

|
|
|
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.
|

15th July 2010, 03:37 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42

|
|
|
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.
|

15th July 2010, 10:28 PM
|
|
Registered User
|
|
Join Date: Feb 2005
Posts: 594

|
|
|
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.
|

16th July 2010, 07:19 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42

|
|
|
Re: Amazon MP3 in Fedora 13
Quote:
Originally Posted by parish
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!
|

21st July 2010, 12:29 PM
|
|
Registered User
|
|
Join Date: Jul 2010
Location: Portales, NM US
Posts: 42

|
|
|
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.
|

21st July 2010, 02:41 PM
|
|
Registered User
|
|
Join Date: Feb 2005
Posts: 594

|
|
|
Re: Amazon MP3 in Fedora 13
Quote:
Originally Posted by dedanna1029
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>
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:10 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|