Hi Nil,

The reason for this could be a missing dependency.
You can check with otool from which libraries your
liborg_imeka_qt_brainanalysis.dylib plugin
depends and if these libraries are all included in the Imeka_2015.04.app
bundle

Andreas


Am 22/05/15 20:35 schrieb "Nil Goyette" unter <nil.goye...@imeka.ca>:

>Hi all,
>
>I simply copied "libpq.5.5.dylib" into /usr/local/pgsql/lib/ and the
>"make package" command finishes without error. I can't say I love this
>"fix" but it seems to fix the package at least.
>
>I still have the problem that I described at the end of my last message
>though.
>
>The file 
>'/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>cOS/plugins/liborg_imeka_qt_brainanalysis.dylib' is not a valid Qt plugin.
>
>We had the same message on Windows and we simply had to install the VS
>redistribuable, but I don't know what to do on OS X. Someone knows?
>Thank you for your time.
>
>Nil
>
>Le 2015-05-08 04:10, Fetzer, Andreas a écrit :
>> Hi Nil,
>>
>> I once had a similar error. It was quiet a while ago so I am not
>>entirely sure about how I solved it.
>> It could be related to the Qt sql drivers. In MITK we only need the
>>qsqlite driver.
>> You can try to (temporarily) remove all other Qt sql drivers from the
>><Qt BINARY DIR>/plugins/sqldrivers directory.
>>
>> Cheers,
>> Andreas
>>
>> Von: Nil Goyette <nil.goye...@imeka.ca<mailto:nil.goye...@imeka.ca>>
>> Datum: Thursday 7 May 2015 16:50
>> An: 
>>"mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net
>>>" 
>>><mitk-users@lists.sourceforge.net<mailto:mitk-us...@lists.sourceforge.ne
>>>t>>
>> Betreff: [mitk-users] OS X package
>>
>> Hi all,
>>
>> I've been trying to build (and run) MITK and our MITK's application on
>>OS X 10.9.5 and it has been a success. Thank you for your good work.
>>
>> My problem is with the "make package" command though. It goes on for a
>>while and suddenly there's a missing lib.
>> warning: target '/usr/local/pgsql/lib/libpq.5.dylib' does not exist...
>> error: /opt/local/bin/otool: can't open file:
>>/usr/local/pgsql/lib/libpq.5.dylib (No such file or directory)
>> error: otool: can't open file: /usr/local/pgsql/lib/libpq.5.dylib (No
>>such file or directory)
>> Error copying file "/usr/local/pgsql/lib/libpq.5.dylib" to
>>"/Users/jenkins/imeka-plitk-build/_CPack_Packages/Darwin/TGZ/Imeka_2015.0
>>4.dev_r386189/MI-Brain.app/Contents/MacOS/libpq.5.dylib".
>> warning: target 
>>'/Users/jenkins/imeka-plitk-build/_CPack_Packages/Darwin/TGZ/Imeka_2015.0
>>4.dev_r386189/MI-Brain.app/Contents/MacOS/libpq.5.dylib' does not
>>exist...
>> error: /opt/local/bin/otool: can't open file:
>>/Users/jenkins/imeka-plitk-build/_CPack_Packages/Darwin/TGZ/Imeka_2015.04
>>.dev_r386189/MI-Brain.app/Contents/MacOS/libpq.5.dylib (No such file or
>>directory)
>> error: otool: can't open file:
>>/Users/jenkins/imeka-plitk-build/_CPack_Packages/Darwin/TGZ/Imeka_2015.04
>>.dev_r386189/MI-Brain.app/Contents/MacOS/libpq.5.dylib (No such file or
>>directory)
>> error: install_name_tool: can't open file:
>>/Users/jenkins/imeka-plitk-build/_CPack_Packages/Darwin/TGZ/Imeka_2015.04
>>.dev_r386189/MI-Brain.app/Contents/MacOS/libpq.5.dylib (No such file or
>>directory)
>> CPack: Create package
>> CPack: - package:
>>/Users/jenkins/imeka-plitk-build/Imeka_2015.04.dev_r386189.tar.gz
>>generated.
>>
>> I do have libpq.5.dylib but it's located in /usr/lib/* with libpq.dylib
>>and libpq.5.5.dylib
>> I'm not an Apple guy, so I'm not sure what I'm supposed to do to fix
>>this. Should I install postgresql, modify DYLD_LIBRARY_PATH, complain
>>here, etc?
>>
>> Of course when I try to run the .app, It fails because of a missing
>>plugin, but it's not libpq.5.dylib. One can hope that solving the first
>>problem will solve the other.
>> 0.449# [BlueBerry] ERROR: ctkPluginException: Failed to install plugin
>>   at 0x10246887d: ctkBackTrace::ctkBackTrace(unsigned long) + 0x6d in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKCore.0.1.dylib
>>   at 0x10247bf2c: ctkException::ctkException(QString const&,
>>ctkException const&) + 0x3c in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKCore.0.1.dylib
>>   at 0x10247dd5e: ctkRuntimeException::ctkRuntimeException(QString
>>const&, ctkException const&) + 0xe in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKCore.0.1.dylib
>>   at 0x1023d2715: ctkPluginException::ctkPluginException(QString
>>const&, ctkPluginException::Type const&, ctkException const&) + 0x15 in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKPluginFramework.0.1.dylib
>>   at 0x1023f749a: ctkPlugins::install(QUrl const&, QIODevice*) + 0xc7a
>>in 
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKPluginFramework.0.1.dylib
>>   at 0x1023d0337: ctkPluginContext::installPlugin(QUrl const&,
>>QIODevice*) + 0x37 in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/libCTKPluginFramework.0.1.dylib
>>   at 0x10167079b: berry::InternalPlatform::Initialize(int&, char*,
>>Poco::Util::AbstractConfiguration) + 0x19cb in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/plugins/liborg_blueberry_osgi.dylib
>>   at 0x101654024: berry::Starter::Run(int&, char*,
>>Poco::Util::AbstractConfiguration) + 0x244 in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/plugins/liborg_blueberry_osgi.dylib
>>   at 0x100f99b75: main + 0x1c5 in
>>/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/Ma
>>cOS/MI-Brain
>>   at 0x7fff88d085fd: start + 0x1 in /usr/lib/system/libdyld.dylib
>>   at 0x1: ???
>> Caused by: ctkPluginException: The plugin
>>"/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/M
>>acOS/plugins/liborg_imeka_qt_brainanalysis.dylib" could not be loaded:
>>The file 
>>'/Users/jenkins/Desktop/Imeka_2015.04.dev_r386189/MI-Brain.app/Contents/M
>>acOS/plugins/liborg_imeka_qt_brainanalysis.dylib' is not a valid Qt
>>plugin.
>> ...
>>
>> Thanks for your time.
>>
>> Nil
>>
>
>
>--------------------------------------------------------------------------
>----
>One dashboard for servers and applications across Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>_______________________________________________
>mitk-users mailing list
>mitk-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to