Skip to content

librdkafka v2.11.0 can not build without curl #5135

@calvin2021y

Description

@calvin2021y

cmake with -DWITH_CURL=OFF

from file: ./generated/config.h

#define WITH_OAUTHBEARER_OIDC 0

from src/rdkafka_conf.c

#ifdef WITH_OAUTHBEARER_OIDC
#include <curl/curl.h>
#endif

get error:

src/rdkafka_conf.c:60:10: fatal error: 'curl/curl.h' file not found
   60 | #include <curl/curl.h>

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