Larry, That worked great, thanks.
Justin On Sun, Nov 30, 2014 at 2:54 PM, Larry Shaffer <[email protected]> wrote: > Hi, > > Looks like > Monteverdi2-0.8.app/Contents/Resources/lib/qt4/plugins/sqldrivers/libqsqlite.dylib > is not being fixed up during the bundling routines. > > To fix your downloaded and installed Monteverdi2-0.8.app (assuming > installed in /Applications here), in Terminal run the following: > > $ cd > /Applications/Monteverdi2-0.8.app/Contents/Resources/lib/qt4/plugins/sqldrivers > > Note the install name 'paths' for the libqsqlite.dylib driver still point > to re-bundle resource locations, e.g. under /opt/local/ prefix: > > $ otool -L libqsqlite.dylib > libqsqlite.dylib: > libqsqlite.dylib (compatibility version 0.0.0, current version 0.0.0) > /opt/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, > current version 9.6.0) > /opt/local/Library/Frameworks/QtSql.framework/Versions/4/QtSql > (compatibility version 4.8.0, current version 4.8.5) > /opt/local/Library/Frameworks/QtCore.framework/Versions/4/QtCore > (compatibility version 4.8.0, current version 4.8.5) > /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current > version 56.0.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 169.3.0) > > > Fix up the install names to be relative to application's bundled resources > > $ install_name_tool -change /opt/local/lib/libsqlite3.0.dylib > @loader_path/../../../../MacOS/libsqlite3.0.dylib libqsqlite.dylib > > $ install_name_tool -change > /opt/local/Library/Frameworks/QtSql.framework/Versions/4/QtSql > @loader_path/../../../../Frameworks/QtSql.framework/Versions/4/QtSql > libqsqlite.dylib > > $ install_name_tool -change > /opt/local/Library/Frameworks/QtCore.framework/Versions/4/QtCore > @loader_path/../../../../Frameworks/QtCore.framework/Versions/4/QtCore > libqsqlite.dylib > > > When done, it should look like: > > $ otool -L libqsqlite.dylib > libqsqlite.dylib: > libqsqlite.dylib (compatibility version 0.0.0, current version 0.0.0) > @loader_path/../../../../MacOS/libsqlite3.0.dylib (compatibility > version 9.0.0, current version 9.6.0) > @loader_path/../../../../Frameworks/QtSql.framework/Versions/4/QtSql > (compatibility version 4.8.0, current version 4.8.5) > @loader_path/../../../../Frameworks/QtCore.framework/Versions/4/QtCore > (compatibility version 4.8.0, current version 4.8.5) > /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current > version 56.0.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 169.3.0) > > Launch Monteverdi2-0.8.app and it should work (works for me). If it had > previously failed due to the driver issue above, you will need to clear out > your cache directory and try again (as noted by Stéphane earlier in this > thread). > > So, there just needs to be a fix in the CMake bundling script for Mac. > > Regards, > > Larry Shaffer > Dakota Cartography > Black Hills, South Dakota > > On Wed, Nov 19, 2014 at 3:45 PM, Maxime P. <[email protected]> > wrote: > >> Hello, >> >> I am having the same problem as described in the first post. I downloaded >> the app from the link Stephane gave hoping it would work this way but it >> doesn't. What should I do? >> >> -- >> -- >> Check the OTB FAQ at >> http://www.orfeo-toolbox.org/FAQ.html >> >> You received this message because you are subscribed to the Google >> Groups "otb-users" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/otb-users?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "otb-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "otb-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/otb-users/bPPQcJcJ2n4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
