30 Jan 2010

Amazon MP3 downloader and openSUSE 11.2

Currently Amazon Germany offers its downloader for openSUSE 11.0 with bindings to boost 1.36, but only boost 1.39 is available in the repositories. As a result you get dependency errors. However, this works:

  1. Install without dependency checks:
    sudo rpm -i --nodeps PACKAGE.rpm
  2. Create symlinks:
    cd /usr/lib
    sudo ln -s libboost_filesystem.so libboost_filesystem.so.1.36.0
    sudo ln -s libboost_regex.so libboost_regex.so.1.36.0
    sudo ln -s libboost_date_time.so libboost_date_time.so.1.36.0
    sudo ln -s ibboost_signals.so ibboost_signals.so.1.36.0
    sudo ln -s libboost_iostreams.so libboost_iostreams.so.1.36.0
    sudo ln -s libboost_thread.so libboost_thread.so.1.36.0
    sudo ln -s libboost_system.so libboost_system.so.1.36.0

    [I don’t like sudo that much, but it’s convenient to include it in those scripts to ensure that the access is granted.. ;)]

Update: A more detailed how-to can be found in the openSUSE wiki (thanks to Flo)