/kb

personal knowledgebase

Archive for July, 2008

php5-imagick error in Ubuntu 8.04

without comments

I got the following error message, caused by a bug in Ubuntu.:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/imagick.so' -
libWand.so.9: cannot open shared object file:
No such file or directory in Unknown on line 0 finished.

Here’s the solution.

Written by hgrimelid

July 17th, 2008 at 1:42 pm

Posted in Server

Tagged with , , , ,

Pasting text in terminal VIM

without comments

Pasting code into a VIM running in terminal has never worked properly for me. It occured to me that Google might have some information on the topic. It turned out to be ridiculously easy:

:set nopaste

Paste your code, and then:

:set paste

Ref.: vim.org.

Written by hgrimelid

July 16th, 2008 at 5:42 pm

Posted in Editors

Tagged with