This is an automatic installer for the Spotify desktop client for Linux, which circumvents the redistribution restrictions on the client by:
- downloading the .deb from spotify.com
- installing required dependencies
- building an rpm
- installing the rpm
The process is intended to be as user-friendly as possible.
Binary package:
This appears in the packman repository, but you have to build links:
ln -s /usr/lib64/libnspr4.so /usr/lib64/libnspr4.so.0d
ln -s /usr/lib64/libplc4.so /usr/lib64/libplc4.so.0d
ln -s /usr/lib64/libsmime3.so /usr/lib64/libsmime3.so.1d
ln -s /usr/lib64/libnssutil3.so /usr/lib64/libnssutil3.so.1d
ln -s /usr/lib64/libnss3.so /usr/lib64/libnss3.so.1d
ln -s /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so.0.9.8
ln -s /usr/lib64/libssl.so.1.0.0g /usr/lib64/libssl.so.0.9.8
1. installing the RPM
2. Running the above link creation commands as root
3. Repetively running as user:
spotify
(NO closing Ampersand, or you won't see the error messages!!)
to which you may receive a number of replies such as:
andy@tm2t> spotify
spotify: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
which simply means you've gotten the link wrong.
You can do ls to confirm that the required /usr/lib64/xxx.so exists, it just needs to be represented as xxx.so.yyy
where yyy is some other arcane suffix than you can derive from the complaint above, e.g., 0.9.8
In this case libcrypto.so exists quite happily, but spotify is looking for libcrypto.so.0.9.8
So making the links makes it happy quite handily and in very short order.
Easy when you know how.
No comments:
Post a Comment