Skip to content

Add libnsl to DPK prereq checks for OL8/RHEL8+#56

Merged
kbens merged 1 commit into
stagingfrom
fix/prereq-libnsl
Feb 15, 2026
Merged

Add libnsl to DPK prereq checks for OL8/RHEL8+#56
kbens merged 1 commit into
stagingfrom
fix/prereq-libnsl

Conversation

@kbens
Copy link
Copy Markdown
Member

@kbens kbens commented Feb 15, 2026

Summary

  • Add libnsl.so.1 to TUXEDO_REQUIRED_LIBS prereq check
  • Replace hardcoded libaio package mapping with pkg_map dict
  • --fix auto-installs libnsl package alongside libaio when missing

Closes #55

Context

OUI Tuxedo clone fails on OL8+ because libnsl.so.1 was removed from base OS. Discovered during dpk-01 setup.

Test plan

  • test_prereq_middleware_checks_libnsl — verifies both libaio+libnsl detected and installed
  • test_prereq_middleware_skipped_for_tools_home — verifies tools_home skips middleware checks
  • All 24 tests pass

OUI Tuxedo clone fails on OL8 without libnsl.so.1. Add to
TUXEDO_REQUIRED_LIBS and use pkg_map for lib→package mapping.
@kbens kbens merged commit 8c40e2d into staging Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant