Skip to content

Commit

Permalink
Add a workaround for shared library bumps for OpenSSL 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Aug 30, 2023
1 parent 4bd650a commit 6383ec0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pycheribuild/projects/disk_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,12 +1044,16 @@ def add_required_libraries(self, libdirs: "list[str]"):
# needed by /bin/sh & /bin/csh (if we included the purecap sh/csh)
"libedit.so.7", "libedit.so.8",
]
# required, but versions were bumped for OpenSSL 3
optional_libs += [
# cheribsdbox depends on SSL
"libcrypto.so.111", "libcrypto.so.30",
"libssl.so.111", "libssl.so.30",
]
# additional cheribsdbox dependencies (PAM+SSL+BSM)
# We don't know what ABI cheribsdbox is built for so let's just add the libraries for all ABIs
required_libs += [
"libbsm.so.3",
"libcrypto.so.111",
"libssl.so.111",
"libpam.so.6",
"libypclnt.so.4", # needed by pam_unix.so.6
# cheribsdbox links these three dynamically since they are needed by other programs too
Expand Down

0 comments on commit 6383ec0

Please sign in to comment.