xlock doesn't use crypt automatically

Bug #1197224 reported by Cilantro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xlockmore (Ubuntu)
New
Undecided
Unassigned

Bug Description

xlock doesn't offer the -cpasswd option -- even when recompiled from source.

Steps to reproduce:
    Download source package and dependencies.
    (I used xlockmore_5.31-1.tar.gz.)
Configure and compile; I used:
    ./configure --enable-xlockrc --enable-blank-only
    make
Resulting error message:
    /xlock/passwd.c:1405: undefined reference to `crypt'

After searching online, I found the following fix:
 XLOCKLIBS="-lcrypt"
before compilation does the trick. This should surely happen
automatically when --enable-xlockrc is called explicitly during
compilation. But I regard it as a bug that the -cpasswd feature
documented in the man page doesn't work in the distributed package,
so perhaps this flag should be set by default.

Cilantro

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.