On Mon, May 27, 2013 at 11:06:43AM +0200, Alexander Burger wrote:
> On failure (for example, if it is the wrong crypt library), you should
> get an error message about undefined 'ext:Crypt'.
Both versions (i.e. 'ext:Crypt' in pil32 or the native call to crypt()
in pil64) call the same library function.
To find out which library must be linked in "src/Makefile", you might
take a look at the man page of crypt(3). It should say something like
$ man 3 crypt
CRYPT(3) Linux Programmer's Manual
crypt, crypt_r - password and data encryption
char *crypt(const char *key, const char *salt);
Link with -lcrypt.