Floby / node-libspotify

Node bindings for the libspotify C library
projects.flo.by/node-libspotify/
102 stars 66 forks source link

Installing as module #3

Closed swissmanu closed 11 years ago

swissmanu commented 11 years ago

it might be obvious, but where do i have to place the "official" libspotify files when installing your library as module in my own app? trying to install node-libspotify with a plain npm install libspotify --save command and tried various locations for the offical files with no succes.

thanks in advance & thanks for your work! cheers, manu

Floby commented 11 years ago

Currently, the official libspotify C library has to be installed system-wide. I plan to make the package download the adequate version of libspotify automatically and linking locally, but it's not there yet.

So download libspotify from spotify. You'll get a tarball or something like it depending on your system. then extract it somewhere. go in the extracted folder and execute sudo make install or something of the sort. Files will be copied where they have to be in order for the linker to find them.

Hope that helps

On 23 January 2013 16:27, Manuel Alabor notifications@github.com wrote:

it might be obvious, but where do i have to place the "official" libspotify files when installing your library as module in my own app? trying to install node-libspotify with a plain npm install libspotify --save command and tried various locations for the offical files with no succes.

thanks in advance & thanks for your work! cheers, manu

— Reply to this email directly or view it on GitHubhttps://github.com/Floby/node-libspotify/issues/3.

swissmanu commented 11 years ago

as expected... actually obvious ;) thank you!