Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237029 - amazonmp3 seems to need more libraries
Summary: amazonmp3 seems to need more libraries
Status: VERIFIED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
: 238379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-08 04:38 UTC by Mr. Bones. (RETIRED)
Modified: 2010-12-01 07:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bones. (RETIRED) gentoo-dev 2008-09-08 04:38:19 UTC
$ amazonmp3 
amazonmp3: error while loading shared libraries: libatkmm-1.6.so.1: cannot open shared object file: No such file or directory

Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26.3 i686)
=================================================================
System uname: 2.6.26.3 i686 AMD Phenom(tm) 9550 Quad-Core Processor
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -Wall -Wno-pointer-sign"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/xdm /etc/bash_completion /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/pango /etc/revdep-rebuild /etc/sound/events /etc/ssmtp /etc/terminfo /etc/udev/rules.d /usr/lib/X11/xkb"
CXXFLAGS="-march=athlon64 -O3 -Wall -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs distlocks metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.mcs.anl.gov/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/msterret/gentoo-x86"
PORTDIR_OVERLAY="/home/msterret/src/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X a52 aac acpi alsa arts artworkextra bash-completion bluetooth branding browserplugin bzip2 cairo cdr cli cracklib crypt cscope cups dbus divx4linux dri dvd dvdr dvdread encode esd evo firefox flac foomaticdb gif gimpprint gnome gpm gstreamer gtk gtk2 hal iconv isdnlog java joystick jpeg libnotify live lzo mad matroska midi mikmod mmx mmx2 mmxext modplug mozbranding moznocompose moznoirc moznomail mp3 mpeg mudflap musepack ncurses network nomotif nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support quicktime readline real reflection sdl session spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vim-syntax vorbis win32codecs wma x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa vga dummy nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jose daLuz 2008-09-16 03:56:51 UTC
For me on amd64 I get this:

amazonmp3: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory

I do have such a 64-bit library, but I don't think there is an emul-linux-x86 package containing gtkmm. I am also running the Gnome overlay if that makes a difference.

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 16 Sep 2008 02:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/zugaina /usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/ikelos /usr/local/overlays/berkano /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2008-09-17 04:29:57 UTC
needs USE=accessibility for dev-cpp/gtkmm
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-09-18 16:18:21 UTC
Thanks for the report here - I'm working on this, and may also try to include amd64 support, if possible.

Stupid closed-source binary-only packages :(
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-09-29 13:27:57 UTC
*** Bug 238379 has been marked as a duplicate of this bug. ***
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-09-29 14:20:48 UTC
Current status:  I've fixed the boost problem by including binary libs.

Sadly I'm still in dependency hell for the AMD64 libs.  I'm trying to figure out how to manufacture a good 32-bit version of libcurl.so.4

net-misc/amazonmp3-1.0.3-r1 should now work fine for x86 users.

amd64, stay tuned.  I haven't given up yet.
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2008-11-05 22:07:55 UTC
Any luck with the amd64 support or is this looking bleak?
Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-11-06 17:07:50 UTC
(In reply to comment #6)
> Any luck with the amd64 support or is this looking bleak?

Bleak with a chance of sunshine.  On x86 we can use all native dependencies.  But for amd64 we need 32-bit binaries for the following gentoo packages (and their dependencies), which do not yet exist:

- =dev-libs/boost-1.34*
- net-misc/curl
- =dev-cpp/gtkmm:2.4
- =dev-libs/nss-3.12

On my single short-lived attempt at getting this to go on amd64, I had been able to pull the needed boost and gtkmm libs out of FC8 RPMs, but their libnss and curl had too many other dependencies.  I may try to just make my own, but it's time consuming to figure out, and it kept getting bigger and bigger.

The real solution would be to have actual x86-emul-linux packages for boost, gktmm, and curl/nss, but I haven't been able to get much help from the amd64 team yet on how this could be done.

If you can find me a full set of 32-bit binary libraries that let this thing run on amd64, please let me know, I'd be happy to throw them in the tree.

I'd recommend searching for the FC8 RPMs, (since we're using the amazonmp3 utility actually packaged for FC8), and then wading through the dependency hell, running 'ldd' on every library in the chain until you have everything resolved.  For this sort of dirty hack, we don't actually need the entire contents of each RPM, but just the actually library dependency chain.  Here's a list of the libraries I had pulled from FC8 so far:

From amazonmp3-boost-1.34.1-7.fc8.i386:
libboost_date_time.so.3  libboost_signals.so.3
libboost_iostreams.so.3  libboost_thread-mt.so.3

From gtkmm and friends:
libatkmm-1.6.so.1    libglibmm-2.4.so.1  libpangomm-1.4.so.1
libcairomm-1.0.so.1  libgdkmm-2.4.so.1   libgtkmm-2.4.so.1   libsigc-2.0.so.0

I know you will also need libcurl.so.4 and its dependencies, as well as libnss3.so version 3.12 (I had been trying to use the xulrunner-bin package for libnss3.so, but it's only version 3.11).

Good luck :)

If no one else helps out, I will still get to this eventually, but I can't say when I'll actually have time.
Comment 8 James 2008-12-23 00:01:52 UTC
it seems that even ubuntu is struggling with getting this under amd64, note the following forum has some interesting info on this:
http://ubuntuforums.org/showthread.php?t=712078
Thanks

(In reply to comment #7)
> (In reply to comment #6)
> > Any luck with the amd64 support or is this looking bleak?
> 
> Bleak with a chance of sunshine.  On x86 we can use all native dependencies. 
> But for amd64 we need 32-bit binaries for the following gentoo packages (and
> their dependencies), which do not yet exist:
> 
> - =dev-libs/boost-1.34*
> - net-misc/curl
> - =dev-cpp/gtkmm:2.4
> - =dev-libs/nss-3.12
> 
> On my single short-lived attempt at getting this to go on amd64, I had been
> able to pull the needed boost and gtkmm libs out of FC8 RPMs, but their libnss
> and curl had too many other dependencies.  I may try to just make my own, but
> it's time consuming to figure out, and it kept getting bigger and bigger.
> 
> The real solution would be to have actual x86-emul-linux packages for boost,
> gktmm, and curl/nss, but I haven't been able to get much help from the amd64
> team yet on how this could be done.
> 
> If you can find me a full set of 32-bit binary libraries that let this thing
> run on amd64, please let me know, I'd be happy to throw them in the tree.
> 
> I'd recommend searching for the FC8 RPMs, (since we're using the amazonmp3
> utility actually packaged for FC8), and then wading through the dependency
> hell, running 'ldd' on every library in the chain until you have everything
> resolved.  For this sort of dirty hack, we don't actually need the entire
> contents of each RPM, but just the actually library dependency chain.  Here's a
> list of the libraries I had pulled from FC8 so far:
> 
> From amazonmp3-boost-1.34.1-7.fc8.i386:
> libboost_date_time.so.3  libboost_signals.so.3
> libboost_iostreams.so.3  libboost_thread-mt.so.3
> 
> From gtkmm and friends:
> libatkmm-1.6.so.1    libglibmm-2.4.so.1  libpangomm-1.4.so.1
> libcairomm-1.0.so.1  libgdkmm-2.4.so.1   libgtkmm-2.4.so.1   libsigc-2.0.so.0
> 
> I know you will also need libcurl.so.4 and its dependencies, as well as
> libnss3.so version 3.12 (I had been trying to use the xulrunner-bin package for
> libnss3.so, but it's only version 3.11).
> 
> Good luck :)
> 
> If no one else helps out, I will still get to this eventually, but I can't say
> when I'll actually have time.
> 

Comment 9 Eitan Mosenkis 2009-04-19 22:31:43 UTC
Suggestion: Use https://www.amazon.com/gp/help/contact-us/music-downloads.html to request that Amazon release a 64-bit version.  If enough people do it, they probably will and that would be the simplest solution to this whole mess.
Comment 10 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-24 12:46:17 UTC
Actually, I've just p.masked amazonmp3 entirely due to dependencies on an old boost version.  I still want to get this going some day, so please ask amazon for a 64-bit version, and to open-source their package.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2010-12-01 07:53:40 UTC
bugzilla