This is an old revision of the document!
Table of Contents
libxml2
# apt-get install libxml2 libxml2-dev
libxslt
# apt-get install libxslt1.1 libxslt1-dev
memcached and libmemcache
# apt-get install memcached libevent-dev libmemcache0 libmemcache-dev
yaz-2.0.x
Double check to make sure yaz-2.1.18 is ok. <fixme>
# apt-get install yaz libyaz2 libyaz2-dev
aspell + dictionary
(e.g. aspell-en)
# apt-get install aspell libaspell-dev aspell-en
GD Graphics Library
# apt-get install libgd2-xpm libgd2-xpm-dev
libreadline
# apt-get install libreadline5-dev
automake
# apt-get install automake
ejabberd
# # Note: works on x86, amd64 needs hand-building, see [[ejabberd|Ejabberd]] for details # apt-get install erlang ejabberd
libdbi and libdbdpgsql 0.8.1
The official site for libdbi http://libdbi.sourceforge.net has a repository for libdbi debs for debian that contains the most up to date packages. http://libdbi.sourceforge.net/download.html
Add this line to your /etc/apt/sources.list
deb http://libdbi.sourceforge.net/debian testing main
run apt-update to refresh your packages cache.
$ apt-get update
And then run apt-get install to install the packages.
$ apt-get install libdbi0-dev libdbi0 libdbd-pgsql
Create a conf file for ld in /etc/ld.so.conf.d so the dbdpgsql driver is recognized. This command creates a file "dbd.conf" under /etc/ld.so.conf.d/ with one line in it "/usr/lib/dbd".
$ echo /usr/lib/dbd > /etc/ld.so.conf.d/dbd.conf
Run ldconfig to refresh the ld cache. This will use the new config file you made to find the dbdpgsql library.
$ ldconfig
Confirm that it is found, this command should show an entry like "libdbdpgsql.so (libc6) => /usr/lib/dbd/libdbdpgsql.so"
$ ldconfig -p |grep dbd
Then edit the Makefile at Open-ILS/src/c-apps/Makefile and change every occurrence of -L/usr/local/lib/dbd to -L/usr/lib/dbd.