# Slicer 4.11 still looks for 4.9 lib dir

**URL:** <https://discourse.slicer.org/t/slicer-4-11-still-looks-for-4-9-lib-dir/4476>\
**Category:** Development\
**Created:** [October 20, 2018, 4:48pm UTC](https://discourse.slicer.org/t/slicer-4-11-still-looks-for-4-9-lib-dir/4476 "2018-10-20T16:48:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 20, 2018, 4:48pm UTC](https://discourse.slicer.org/t/slicer-4-11-still-looks-for-4-9-lib-dir/4476/1 "2018-10-20T16:48:34Z")

</div>

Built Slicer from git on Arch Linux. It does not start with Slicer executable. I have to set LD\_LIBRARY\_PATH to \<install\_path\>/lib/Slicer-4.11 for it to run. Then the title bar still shows 4.9.0, while the about box shows 4.11.

On start, stdout shows

> …  
> File “/home/user/programs/Slicer/bin/…/lib/Slicer-4.9/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 6, in   
> import DICOMLib  
> File “/home/user/programs/Slicer/lib/Slicer-4.9/qt-scripted-modules/DICOMLib/ **init**.py”, line 4, in   
> from DICOMWidgets import \*  
> File “/home/user/programs/Slicer/lib/Slicer-4.9/qt-scripted-modules/DICOMLib/DICOMWidgets.py”, line 8, in   
> from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton  
> ImportError: cannot import name ctkDICOMObjectListWidget  
> loadSourceAsModule - Failed to load file “/home/user/programs/Slicer/bin/…/lib/Slicer-4.9/qt-scripted-modules/MultiVolumeImporterPlugin.py” as module “MultiVolumeImporterPlugin” !  
> …

That’s not a clean build, and I can’t test all functionalities. But the above stdout presumes that many modules won’t work. Is some tuning of cmake files required on your part ? Or should I delete all CTKAppLauncher\* files and rebuild ? Or anything else ?

Thanks.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 20, 2018, 5:29pm UTC](https://discourse.slicer.org/t/slicer-4-11-still-looks-for-4-9-lib-dir/4476/2 "2018-10-20T17:29:11Z")

</div>

> [@chir.set](#):
>
> That’s not a clean build

You need to do a completely clear build when major or minor version of the application is changed.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 21, 2018, 6:14am UTC](https://discourse.slicer.org/t/slicer-4-11-still-looks-for-4-9-lib-dir/4476/3 "2018-10-21T06:14:54Z")

</div>

Yep, Slicer works as usual with a clean build. Thanks.
