Hurray !! New Slackware version is on the way

Slackware team has released the new development snapshot Release Candidate 2 of Slackware 14.2 on 23rd April 2016. And it seems like it will be the last RC version before the final release of the OS. It includes a number of kernel fixes as well as an update to the latest version of the Thunderbird e-mail client.

According to the team ~ “Finally got some fixes we were waiting for in this new kernel. It’s been almost a month since 14.2-rc1 so we’ll call this Slackware 14.2 Release Candidate 2. Almost there. Get in any last-minute bug reports quickly.

The full list of changes can be found in the changelog.

How did I install memcached in Slackware ? A step by step installation guide


What is Memcached ?

According to the Memcached website :

“Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.”


Dependencies :

Memcached depends only on libevent, an event notification library, and is available in libevent website.

In Linux, we need a kernel with epoll, and epoll isn’t included in Linux 2.4, but don’t worry a backport available through epoll-lt patch.

Before installing memcached make sure that you have installed libevent library properly.

Following are the are the steps to install libevent :

  1. Download the libevent source code from
  2. uncompress the file and change the directory to it.
  3. Then do './configure && make' and 'make install' (as root)
    $ ./configure --enable-64bit --prefix=/opt/memcached
    $ make
    $ su -c "make install"
    password :

In Slackware 14.1 /usr/local/lib ( which is the default installation path for libevent) is already included in the ld configuration. If in case you are referring this guide for other distributions you might have check it. If it is not included in the ld configuration you can add it by editing /etc/

If tetc/ is not available create one by

vim /etc/


nano /etc/
## add a line containing:

then update by the issuing the command ‘ldconfig -v’

Installation steps :

Step 1 : Download the latest version of Memcached.

$ wget -r -P /home/dev/Software/

Step 2 : Uncompress the file.

$ cd /home/dev/Software

$ tar -xvzf /home/dev/Software/

Step 3 : Change the directory to the current uncompressed file directory.

$ cd /home/dev/Software/memcached-1.4.17

Step 4 : run the ./configure with appropriate parameters

$ ./configure --prefix=/opt/memcached

Step 5 : run the make script

$ make && make test

Step 6 : run make install

$ su -c "make install"

password :

Step 7 : run memcached

$ memcached -d -m 256 -u dev -p 11211

Possible pitfalls :

Sometimes an error is shown which says cannot open shared object file : : No such file or directory.

Problems can be

  1. You forgot to install libevent.Solution : install libevent library.
  2. You compiled libevent and memcached from source package and did that for different hardware platform’s x86/64 using lib/lib64 folders.Solution : uninstall the current installation using ‘make uninstall’ and reinstall the library properly.
  3. Something is messed up and synlink wasn’t properly generatedSolution : create the symlink for libevent library properly.
    On a 32 bit system:

    ln -s /usr/local/lib/ /usr/lib/

    On a 64 bit system:

    ln -s /usr/local/lib/ /usr/lib64/

References :

2013 in review

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 16,000 times in 2013. If it were a concert at Sydney Opera House, it would take about 6 sold-out performances for that many people to see it.

Click here to see the complete report.

Why Amarok doesn’t play MP3 files in Slackware 14 and how to solve the problem ?

gstreamer logo

Amarok one of the best music players for the Gnu\Linux world and I have been a loyal fan of it ever since I started using it.

Back to the point now !! 🙂 . After installing Slackware 14 I was hugely disappointed, I wasn’t able to play MP3 files using Amarok. I tried changing the backend by going to

-> Settings 
  -> Configure Amarok 
    -> Playback 
      -> Sound System Configuration
        -> Backend tab

and that didn’t help me. But after a google search I was able to spot the problem. Amarok uses phonon in the backend and which in-turn depends on GStreamer to work. The problem revealed to be the missing of some GStreamer plugins which were used to play the mp3 files. GStreamer plugins are grouped into several packages: base, good, bad and ugly. Slackware 14 was not giving ugly group ( This package contains plug-ins from the “ugly” set, a set of good-quality plug-ins that might pose distribution problems.) of plugins out of the box, probably because of its license. I installed ugly plugins, i.e, gst-plugins-ugly, but I didn’t know if it was enough so Installed gst-plugins-bad and gst-plugins-ffmpeg also. It was a blind shot but it worked. And I am happily hearing to some music now,  Amaroking by the way ;).

waiting for your comments, cheers 🙂