Skip to content

Can not build Rust Project with paho-mqtt-sys library on Mac os Apple M1 Pro #174

Closed
@burak0206

Description

@burak0206

Hi all,
I am developing a rust web project using the M1 pro chipset. I installed mosquitto with brew and paho.mqtt.c with macports. I added paho-mqtt-sys and paho-mqtt. Before that, application can be built. However if I add paho-mqtt libraries, It gives an error when I call cargo build --target x86_64-apple-darwin.

What should I do to fix the error?

Error:

Ekran Resmi 2022-11-20 18 27 11

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