Bug 24434 - cipher(3) man pages needs to state that -lcipher is needed.
Summary: cipher(3) man pages needs to state that -lcipher is needed.
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: ben
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-18 16:10 UTC by ches
Modified: 2001-07-20 06:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ches 2001-01-18 16:10:01 UTC
Man pages should mention the libraries that their routines rely on.
It is missing from the cipher(3) man page.  The obvious entries
of -ldes and -lcrypto don't work.

A lot of people are having problems with this.  They see the libc
error messages and think crypto is not available. The search engines
show a lot of queries about:

/var/tmp/ccO60021.o(.text+0x2c): WARNING!  des_cipher(3) not present in the system!

ches

How-To-Repeat: ches-netmapper:~/map/dev/ches/snk$ cat t.c
int
main(int argc, char *argv[]) {
        char buf[1000];

        des_setkey("xxx");
        des_cipher(buf, buf, 0, 16);
        setkey("ccc");
        encrypt(buf, 1);
}
ches-netmapper:~/map/dev/ches/snk$ cc t.c
/var/tmp/cck60048.o: In function `main':
/var/tmp/cck60048.o(.text+0x12): WARNING!  des_setkey(3) not present in the system!
/var/tmp/cck60048.o(.text+0x2c): WARNING!  des_cipher(3) not present in the system!
/var/tmp/cck60048.o(.text+0x3c): WARNING!  setkey(3) not present in the system!
/var/tmp/cck60048.o(.text+0x50): WARNING!  encrypt(3) not present in the system!
Comment 1 ben freebsd_committer freebsd_triage 2001-01-24 14:27:41 UTC
Responsible Changed
From-To: freebsd-doc->ben

Committed to -current, I'll MFC it soon.
Comment 2 ben freebsd_committer freebsd_triage 2001-07-20 06:17:54 UTC
State Changed
From-To: open->closed

Committed in -current and MFC'd by ru, thanks!