File: test_libcrypto

package info (click to toggle)
pdns-recursor 4.1.11-1+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,936 kB
  • sloc: cpp: 54,211; javascript: 26,587; sh: 11,872; makefile: 453; xml: 37
file content (12 lines) | stat: -rwxr-xr-x 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ $(ldd pdns_recursor | grep -c libcrypto) -gt 1 ]; then
  echo "Error! pdns_recursor is linked against multiple OpenSSL versions!"
  echo "This happens when one dependency is linked to OpenSSL 1.0, while"
  echo "pdns_recursor is linked against OpenSSL 1.1. Please set --with-libcrypto"
  echo "to the directory of the dependency's OpenSSL or drop the dependency."
  echo ""
  echo "On Debian Stretch, this error is most likely caused by attempting to"
  echo "link in net-snmp."
  exit 1;
fi