At home we use atalk for the shares on the Home Media Server. It makes things simpler as there are Apple computers around. The client I use for Ubuntu is afpfs-ng by Simon Vetter. Having built it a few times (old school, eh?!) I find myself having to relearn the package dependancies, so this post is intended to fix that.

The box already has the build-essentials package installed.

Before running configure for afpfs-ng I needed to install libfuse and it’s development files.

sudo apt-get install libfuse-dev

Also, gcrypt and gmp libraries were looked for by configure, so I installed them

sudo apt-get install libgcrypt20-dev libgmp-dev<br></br>
./configure```

During the initial make, I found that readline and libraries and development files were needed.

`sudo apt-get install libreadline-dev`

Then the ncurses library couldn’t be linked, which was fixed by installing the development libraries.

`sudo apt-get install libncurses5-dev`

Once built, I ran

`sudo make install`

which installed the libraries into /usr/local/lib. As this path wasn’t listed already for shared libraries, I had to add a file listing the diretcory in /etc/ld.so.conf.d/ and then run

`sudo ldconfig`

Hopefully this will help me next time I need to build the apps and perhaps even help others!