Can anyone else get the C implementation of phpass built under Ubuntu?

...because I can't. Ubuntu 12.04, and I'm just trying to make the C reference code included in phpass 0.3. Under Debian, I can apt-get install libssl-dev and then the make trundles along happily; however, on the Ubuntu system I've got to play with, the compile spins through happily but the linking falls on its face.

The warnings appear on other systems, and seem to be just warnings, but the “undefined reference” errors are specific to this system. Google doesn't say much, but what it does say (-lssl along with lcrypto) doesn't seem to change anything, and given that it builds just fine on another system, I think there's a problem with some library actually being missing – I just don't know which.