Skip to content
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

Patch APR to remove crypt dependency #758

Merged
merged 7 commits into from
Jan 10, 2023
Merged

Patch APR to remove crypt dependency #758

merged 7 commits into from
Jan 10, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

We dont use any APR features that uses libcrypt so we can safely not link against it. This resolves various issues as some distributions otherwise need the extra installation of libxcrypt-compat etc.

Modifications:

  • Add patchfile for APR configure.in to remove linking against libcrypt
  • Patch APR during build

Result:

Fixes #703

@normanmaurer normanmaurer added this to the 2.0.56.Final milestone Jan 9, 2023
Motivation:

We dont use any APR features that uses libcrypt so we can safely not link against it. This resolves various issues as some distributions otherwise need the extra installation of libxcrypt-compat etc.

Modifications:

- Add patchfile for APR configure.in to remove linking against libcrypt
- Patch APR during build

Result:

Fixes #703
@normanmaurer
Copy link
Member Author

 ldd boringssl-static/target/native-lib-only/META-INF/native/linux64/libnetty_tcnative.so
ldd: warning: you do not have execution permission for `boringssl-static/target/native-lib-only/META-INF/native/linux64/libnetty_tcnative.so'
	linux-vdso.so.1 (0x00007ffc2ef80000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fa555a00000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa5560de000)

@normanmaurer normanmaurer merged commit 8d46f00 into main Jan 10, 2023
@normanmaurer normanmaurer deleted the crypt branch January 10, 2023 07:29
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.

Link against to the libcrypt.so.2
2 participants