# Build arm 32 OpenSSL

**URL:** <https://discourse.slicer.org/t/build-arm-32-openssl/31204>\
**Category:** Support\
**Created:** [August 17, 2023, 9:27pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204 "2023-08-17T21:27:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [August 17, 2023, 9:27pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/1 "2023-08-17T21:27:08Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/d/ed9c6c83c890cbcc7bad7bd1cb735ac4fb621fc1.png)  
When I try this step, error happens:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/b/bbc3f6ec37b582ea4fc59bd87fea5314b0c070db.png)  
The error message indicates that the linker could not find some symbol (function, variable, etc.) when trying to build. But I dont know how to solve.  
Best wishes,  
Joshua

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 17, 2023, 10:16pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/2 "2023-08-17T22:16:08Z")

</div>

Thanks for reporting. Something must have changed either with the mac build tools or something in OpenSSL source. I just re-ran that those commands on the same M2 mac where they worked before and now I get the same link error that you reported.

---

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [August 18, 2023, 5:28am UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/3 "2023-08-18T05:28:53Z")

</div>

Thanks so much. So I may not build Slicer on my mac now right?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 18, 2023, 12:43pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/4 "2023-08-18T12:43:18Z")

</div>

> [@Kening\_Zhang](#):
>
> So I may not build Slicer on my mac now right?

Not without some extra work. You could investigate why this link error occurs by looking at any changes in OpenSSL since the time late last year when it worked vs the current version. Maybe checking out an older version would build correctly and if so maybe a patch could be developed to make a newer version work. It’s also possible that other people have noticed this issue and a fix is in the works (to know you would need to check the OpenSSL issue tracker). Since this failure is on a straightforward build of the library on a fairly popular OS I suspect it will eventually be fixed, but maybe you can help speed up the process with some research.

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [August 18, 2023, 1:37pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/5 "2023-08-18T13:37:46Z")

</div>

@Kening_Zhang Thanks for following up with additional details 🙏 💯

To help organize the effort, I just updated our “meta” issue adding links to issue reports and relevant discourse posts:

- [Support for building/testing/packaging Slicer on Apple arm64 · Issue #6811 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/issues/6811)

@Kening_Zhang @pieper

Could you add a summary of your latest finding regarding building OpenSSL on arm to the following issue report:

- [Unable to build from source on Apple silicon · Issue #5944 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/issues/5944)

---

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [August 18, 2023, 5:47pm UTC](https://discourse.slicer.org/t/build-arm-32-openssl/31204/6 "2023-08-18T17:47:11Z")

</div>

OK, I am working on it.
