I recently replaced Linux Mint 13 with Ubuntu 12.04 LTS as the GNU Linux distribution on my dual-boot laptop. One of the first tasks after basic configuration was to install mdb-tools for Maestro development (used to extract data from a Parts&Vendors MS Jet4 database).
Install build dependencies:
$ sudo apt-get install libtool $ sudo apt-get install automake $ sudo apt-get install txt2man $ sudo apt-get install libglib2.0-dev libdb-dev
Clone the mdb-tools GitHub repo:
$ cd ~/src $ cd src $ git clone https://github.com/brianb/mdbtools.git mdbtools $ cd mdbtools
Compile mdb-tools, and install executables and man pages
$ ./autogen.sh $ ./configure $ make $ sudo make install
Rebuild ld cache:
$ sudo ldconfig
Man pages are installed for mdb-tools executables:
- mdb-array
- mdb-export
- mdb-header
- mdb-hexdump
- mdb-parsecvs
- mdb-prop
- mdb-schema
- mdb-sql
- mdb-tables
- mdb-ver
For more information on mdb-tools:
- MDB Tools Wikipedia entry
- MDB Tools Github project
- MDB Tools Sourceforge project (the original project site, has some documentation but see GitHub for code)
For more information on why you have to run ldconfig after installing mdb-tools:
- Newly install binaries can’t find libmdb on Ubuntu (posted to mdbtools Github forum)
- autoconf: make install leaves ld cache outdated (posted to debian project)