Published by Daniel on 12th February 2009
I’ve gotten this error after i’ve installed ImageMagick (from source) and RMagick (using gem) on my Debian system
libMagickCore.so.2: cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so
To get rid of this error i executed
ldconfig /usr/local/lib
Published by Daniel on 12th February 2009
Change hostname on Debian
I wanted to change the hostname on my Debian Etch installation. The following worked:
sudo vi /etc/hostname
Change the hostname and save file and then
sudo /etc/init.d/hostname.sh start
Published by Daniel on 6th February 2009
install Erlang and Mochiweb under Ubuntu
First of all we install necessary components and start with the Erlang installation:
sudo apt-get build-dep erlang
sudo apt-get install java-gcj-compat java-gcj-compat-dev
Then we download the source of Erlang (newest versions are available here: http://erlang.org/download.html). I took the R12B-5 release.
wget http://erlang.org/download/otp_src_R12B-5.tar.gz
Extract
tar xfvz otp_src_R12B-5.tar.gz
Configure (choose your favorite directory for the Erlang installation, here: /usr/local/erlang), build and install it:
cd otp_src_R12B-5
./configure --prefix=/usr/local/erlang
sudo make
sudo make install
Now the Mochiweb part
We checkout the newest Mochiweb source using subversion (if not installed yet. Install subversion using sudo apt-get install subversion).
svn checkout http://mochiweb.googlecode.com/svn/trunk/ mochiweb
cd mochiweb
sudo make
Published by Daniel on 10th August 2003
apt-get install sun-java5-jdk