Page MenuHomePhabricator

CTK library loading error when starting MITK on MAC
Closed, ResolvedPublic

Description

When starting MITK on mac the following error is displayed in the shell:
Pre-loading library "libCTKDICOMCore" failed: "Cannot load library
libCTKDICOMCore: (dlopen(libCTKDICOMCore.0.1.dylib, 5): image not found)"
Check your library search paths.

Event Timeline

Same error occurs when building an installer from the actual master on Windows.

User cordes has pushed new remote branch:

bug-17956-ctk-library-loading

OSX installer starts without warnings or errors.

[e29bfb]: Merge branch 'bug-17956-ctk-library-loading'

Merged commits:

2014-10-30 20:07:56 Sascha Zelzer [b28a6a]
QT_LIBRARY_DIR might not end with a slash.


2014-10-30 20:07:32 Sascha Zelzer [912d42]
Copied pre-load library code from mitkWorkbench.cpp.


2014-10-30 20:07:12 Sascha Zelzer [2e54fe]
Updated CTK containing pre-load library fixes.


2014-10-30 19:10:02 Sascha Zelzer [eaca46]
Improved pre-load library path handling, fixing MacOS and Windows issues.


2014-10-29 17:43:34 Jonas Cordes [9d6b36]
Removed CTKDICOMCore from pre-load list an generalized look-up code.

[cd3761]: Merge branch 'bug-17956-ctk-library-loading'

Merged commits:

2014-10-30 21:20:56 Sascha Zelzer [f6ba32]
COMP: Fix missing variable declaration.