-
Notifications
You must be signed in to change notification settings - Fork 17
Home
The spotify gem depends heavily on libspotify. For Mac OS and Linux (i686 and x86_64), the libspotify gem takes care of installing it. However, for some platforms, the libspotify gem cannot install libspotify for you, and you’ll need to do it yourself. This page contains instructions for doing so.
Note: libspotify-ruby will find libspotify
if the library file (.dll
, .so
) is placed in the same directory from which you run code using libspotify-ruby; this works across Mac OS, Linux and Windows alike.
Easiest is to install libspotify using Homebrew:
brew install libspotify
You can also install libspotify manually. Download the libspotify distribution for Mac OS. Drop the included libspotify.framework
folder into /Library/Frameworks/
.
Download the libspotify distribution for your architecture. Unpack the archive, and issue make prefix=/usr/local install
:
wget http://developer.spotify.com/download/libspotify/libspotify-12.1.51-Linux-armv5-release.tar.gz
tar xvfz libspotify-12.1.51-Linux-armv5-release.tar.gz
cd libspotify-12.1.51-Linux-armv5-release
make prefix=/usr/local install # might need sudo, depending on your system
Put the libspotify.dll
into any of the following:
- directory from which you run code using Hallon
- system directory (
system32
) - windows directory
- any of the directories listed in your
PATH
environment variable