apache / apache/rocketmq-client-cpp

Fixing the issue of rocketmq-client-app failing to build on Mac M1 and M2 environments.

Offen
#469 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
393
Forks
167
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The issue is that Mac M1 and M2 no longer support openssl-1.1.1, causing a compilation error related to arm64 during the build process. To resolve this, openssl needs to be upgraded. After testing with openssl-3.3.0, it was found to compile and install successfully. To address this, modify the value of 'fname_openssl_down' to 'openssl-3.3.0.tar.gz' in the build.sh script. With this adjustment, the build and installation should succeed on M1 chips, allowing for normal usage.

I noticed that the issue was also mentioned in a previous GitHub issue (https://github.com/apache/rocketmq-client-cpp/issues/453). Therefore, I would like to address this problem and fix it accordingly.

If needed, I can upload a successfully built release package for M1 chips. This way, others won't need to rebuild it again.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Open build.sh and locate the fname_openssl_down value. Update it to the specified OpenSSL archive name, then run the build and installation on a Mac M1 or M2 environment. Done means the rocketmq-client-app builds and installs successfully without the arm64 compilation error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, shell
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
50/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.