Page MenuHomePhabricator

MitkQtPythonTest fails because of missing library dependencies on Linux
Closed, ResolvedPublic


jenkins@mbi086:~/jenkins-agent/workspace/MITK/Nightly/Linux/build/MITK-build$ ldd ../ep/src/CTK-build/CMakeExternals/Install/lib/ (0x00007fffec5f5000) => /usr/lib/x86_64-linux-gnu/ (0x00007f429868b000) => not found => not found => not found => /usr/lib/x86_64-linux-gnu/ (0x00007f4298302000) => /lib/x86_64-linux-gnu/ (0x00007f4297f64000)

libPythonQt does not link Qt dependencies with absolute path on Linux.

Event Timeline

kislinsk triaged this task as Normal priority.Jan 7 2020, 12:52 PM
kislinsk created this task.

I can confirm this works. One downside I realized with the current solution is that it only works if the test is executed through ctest, i.e. ctest -R Pytohn , but if you start the driver directly the same problem occurs. I think it is ok for now, but would be some motivation to find a solution that works without a special environment, since for example while debugging you usually start the executable directly.