[Pkg-openssl-devel] Bug#802235: openssl: linking MD5() fails with undefined reference to symbol 'MD5@@OPENSSL_1.0.0'

Rainer Glaschick rainer at glaschick-pb.de
Sun Oct 18 17:02:00 UTC 2015


Package: openssl
Version: 1.0.1k-3+deb8u1
Severity: normal



-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssl depends on:
ii  libc6        2.19-18+deb8u1
ii  libssl1.0.0  1.0.1k-3+deb8u1

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates  20141019

-- no debconf information
 
The following small program
 
#include <openssl/md5.h>
main () {
   char *str = "abc";
   unsigned char cs[MD5_DIGEST_LENGTH];
   MD5(str, 5, cs);
}	
 
fails to compile:
$ cc md5_test.c -l ssl
/usr/bin/ld: /tmp/ccvCx9Rb.o: undefined reference to symbol 'MD5@@OPENSSL_1.0.0'
//usr/lib/i386-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Did just dist-upgrade from wheezy to jessie; works in wheezy



More information about the Pkg-openssl-devel mailing list