Hello, I am facing an issue when I build OTB and its applications. The building is done normally but it seems that the linking with dynamic libraries and espacially "Utilities" libraries such as libotbtinyXml, libotbedison, libotbconfigfile, libotbmuparse, libotbossimplugin, libotbossim, libOpenThreads is not working well.
When I run otbApplicationLauncherCommandLine, I got the following message: dyld: Library not loaded: libotbtinyXML.4.0.dylib Referenced from: /usr/local/bin/otbApplicationLauncherCommandLine Reason: image not found Trace/BPT trap: 5 and when I use the otool -L on otbApplicationLauncherCommandLine: /usr/local/lib/libkmlbase.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libkmlconvenience.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libkmldom.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libkmlengine.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libkmlregionator.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libkmlxsd.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libminizip.0.dylib (compatibility version 1.0.0, current version 1.0.0) libotbtinyXML.4.0.dylib (compatibility version 4.0.0, current version 4.0.0) libotbedison.4.0.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/local/lib/libcurl.4.dylib (compatibility version 8.0.0, current version 8.0.0) libotbconfigfile.4.0.dylib (compatibility version 4.0.0, current version 4.0.0) libotbmuparser.4.0.dylib (compatibility version 4.0.0, current version 4.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 744.19.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0) libotbossimplugins.18162.1.dylib (compatibility version 18162.1.0, current version 18162.1.0) libotbossim.21971.1.dylib (compatibility version 21971.1.0, current version 21971.1.0) /usr/local/lib/libtiff.5.dylib (compatibility version 8.0.0, current version 8.0.0) libOpenThreads.7.dylib (compatibility version 7.0.0, current version 1.9.5) /Library/Frameworks/gdal.framework/Versions/Current/gdal (compatibility version 15.0.0, current version 15.2.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0) I think the lib path should be set (/usr/local/lib/otb/libotbtinyXML.4.0.dylib instead of libotbtinyXML.4.0.dylib). I can do it using the install_name_tool but it is quite annoying. Best regards. -- -- 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.
