PERLOPENBSD(1)
π perlopenbsd β Perl version 5 on OpenBSD systems π
okay bestie, welcome to the perlopenbsd page β¨ it's the manual for perlopenbsd, aka the whole rundown on running Perl version 5 (and yes, from here on out we're just calling it Perl π
) on OpenBSD systems π‘
π DESCRIPTION π
so this doc spills the tea on all the various OpenBSD features that affect how Perl version 5 gets compiled and/or runs π«Ά no cap, if you're building or running Perl on OpenBSD, this is your page.
πΈ OpenBSD core dumps from getprotobyname_r and getservbyname_r with ithreads πΈ
okay so when Perl is configured to use ithreads, it's gonna reach for the re-entrant library calls instead of the non-re-entrant versions β like, it prefers the fancy _r ones, periodt β¨
but here's the drama: there's an incompatibility in OpenBSD's getprotobyname_r and getservbyname_r functions in versions 3.7 and later that will cause a SEGV when they're called without doing a bzero on their return structs prior to calling these functions π like, you gotta zero out those structs first or it's giving crash.
good news tho: current Perl's should handle this problem correctly π
bad news for the old heads: older threaded Perls (5.8.6 or earlier) will run into this problem π so if you want to run a threaded Perl on OpenBSD 3.7 or higher, you will need to upgrade to at least Perl 5.8.7. that's the vibe check, fr fr.
β οΈ lowkey important: if you're on a threaded Perl 5.8.6 or earlier + OpenBSD 3.7 or newer, just upgrade bestie, don't fight it π
π AUTHOR π
Steve Peters <steve@fisharerojo.org> π
Please report any errors, updates, or suggestions to <https://github.com/Perl/perl5/issues> β like, they genuinely wanna hear from you π«Ά
and that's the whole page, bestie!! π this was perlopenbsd, straight from perl v5.42.3, dated 2026-08-03 β main character energy from start to finish π
β¨ mwah π
π¦ where this page comes from
- fedora 43: perl-doc 5.42.3-524.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- fedora 44: perl-doc 5.42.3-525.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms