# Build failing in CTK on MacOS 10.12, Slicer nightly, Qt 5.9

**URL:** <https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551>\
**Category:** Development\
**Tags:** build\
**Created:** [April 9, 2018, 9:05pm UTC](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551 "2018-04-09T21:05:21Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![mschumaker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mschumaker/32/1395_2.png) [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Post date:** [April 13, 2018, 4:41pm UTC](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551/20 "2018-04-13T16:41:11Z")

</div>

It’s compiling… but not quite working. I get the same errors described in:

> [@MacOS Sierra (10.12.6) dynamic linker errors](https://discourse.slicer.org/t/macos-sierra-10-12-6-dynamic-linker-errors/2339):
>
> Hey guys, I’m running into some dynamic linker errors on startup with master built on 10.12.6: dlopen(/Users/hherhold/Development/slicer/build-qt5/Slicer-build/lib/Slicer-4.9/qt-loadable-modules/vtkSlicerCropVolumeModuleLogicPython.so, 2): no suitable image found. Did find: /Users/hherhold/Development/slicer/build-qt5/Slicer-build/lib/Slicer-4.9/qt-loadable-modules/./vtkSlicerCropVolumeModuleLogicPython.so: malformed mach-o: load commands size (32872) \> 32768 /Users/hherhold/Development/slic…

What I understand from this is that the initial pathname has to be short. How short does it need to be? I was compiling from /Users/michaelschumaker/Packages.

---

_[View the full topic](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551)._
