Skip to content

[Bug] Failed to build with OpenSSL 4.0.0 #573

Closed

Description

@hdu-sdlzx

Search before asking

  • I searched in the issues and found nothing similar.

Version

pulsar v4.1.0
openssl 4.0.0

Minimal reproduce step

build pulsar-client-cpp

What did you expect to see?

build completed successfully

What did you see instead?

In file included from /home/sdlzx/code/pulsar-client-cpp/lib/BatchMessageContainerBase.cc:22:
/home/sdlzx/code/pulsar-client-cpp/lib/MessageCrypto.h:23:10: fatal error: openssl/engine.h: No such file or directory
23 | #include <openssl/engine.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.

Anything else?

OpenSSL 4.0.0 has removed engine support.
reference: https://openssl-library.org/post/2026-04-14-openssl-40-final-release/

And I don't think pulsar requires this, in fact, pulsar can be built without this line.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added 2 commits that reference this issue on May 7, 2026
    ef91019
    72c6c2d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions