This is a tweak to KR4EY's entry on installing CQRLOG on a 64-bit Debian machine.
After buying a new laptop and replacing Ubuntu 8.10 32-bit with Ubuntu Jaunty beta 64-bit, I too got the dreaded libhamlib.so.2 error when I installed and tried to run CQRLOG.
For Ubuntu, follow KR4EY's instructions about downloading the 32-bit libhamlib from Debian's repository:
Then use his commands for unpacking, BUT...:
dpkg -X libhamlib2_22.214.171.124-1_i386.deb /emul/ia32-linux
...instead of unpacking into /emul/ia32-linux, which doesn't exist in Ubuntu (at least on my machine!) unpack into a temporary directory of your choosing. In a terminal as sudo, copy the libhamlib files into /usr/lib32.
Once you've done this, CQRLOG loads like the champ it was designed to be.