# man > dh_perl_openssl(1)

---
type: CommandReference
command: dh_perl_openssl
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `dh $@ --with perl_openssl` — use with debhelper to add perl-openssl-abi dependency
- Build-depend on `dh-sequence-perl-openssl` — alternative to --with perl_openssl (since perl-openssl-defaults/4)

## Name

dh_perl_openssl - add dependencies required for OpenSSL modules

## Synopsis

`dh_perl_openssl` [_debhelper_options_]

## Description

dh_perl_openssl is a debhelper program that adds a dependency on `perl-openssl-abi-*` to the `${perl:Depends}` substitution variable. This is needed for packages that expose the OpenSSL binary interface to Perl code (e.g., pointers to `SSL_CTX` structs).

A debhelper addon is also provided.  Use `--with perl_openssl` in `debian/rules` or build-depend on `dh-sequence-perl-openssl`.

## Examples

shell
#!/usr/bin/make -f
%:
	dh $@ --with perl_openssl
shell
# Alternative: build dependency in debian/control
# Build-Depends: dh-sequence-perl-openssl
## See Also

- [debhelper(7)](http://localhost/phpMan.php/man/debhelper/7/markdown)
- [Debian bug #848113](http://bugs.debian.org/848113)