[Bug 1023973] Re: Undefined reference to 'crypt' when compiling

Matthias Klose doko at ubuntu.com
Sun Mar 24 16:18:27 UTC 2013


** Package changed: gcc-defaults (Ubuntu) => make (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1023973

Title:
  Undefined reference to 'crypt' when compiling

Status in “make” package in Ubuntu:
  New

Bug description:
  When trying to compile a program on Ubuntu 12.04, which uses crypt()
  and linking with -lcrypt as specified in the CRYPT(3) man page,
  compilation fails with: Undefined reference to `crypt'

  The program works flawless on many earlier Linux versions including
  multiple Fedora versions and Ubuntu 10.04.

  Reporting this against libc6 because that's the package libcrypt
  belongs to in Ubuntu 10.04.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libc6 2.15-0ubuntu10
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: i386
  Date: Thu Jul 12 18:06:23 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: eglibc
  UpgradeStatus: Upgraded to precise on 2012-05-08 (64 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/make/+bug/1023973/+subscriptions




More information about the foundations-bugs mailing list