Skip to content

Load libz.so.1 #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Load libz.so.1 #69

merged 1 commit into from
Feb 2, 2022

Conversation

alisanikiforova
Copy link
Contributor

Many OSs have only libz.so.1 but no libz.so, so when loading zlib, want to check both and load libz.so.1 first, and then double check libz.so if that fails.

@zibaiwan zibaiwan requested review from pcolberg and zibaiwan February 2, 2022 17:41
@zibaiwan zibaiwan added this to the 2022.3 milestone Feb 2, 2022
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alisanikiforova, thanks for fixing this. Can you please squash those two commits into one commit and make the commit message structured like Title + Content? Thanks! Let me know if you need any help with squashing the commits. I usually use git reset --soft HEAD~2 && git commit and you probably need to push with force. You can also use git rebase -i.

zibaiwan
zibaiwan previously approved these changes Feb 2, 2022
Copy link
Contributor

@pcolberg pcolberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alisanikiforova! Just a few minor cosmetic suggestions:

Some supported OSs only contain libz.so.1, which dlopen fails to find causing our compiles to fail because the packager editor library is used during compile. This change ensures ew check for botrh libz.so.1 and libz.so beofre freaking out and saying libz isn't installed.
@zibaiwan zibaiwan merged commit 7b0d9ad into intel:main Feb 2, 2022
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.

3 participants