Hi,

I had similar issues. I guess that your /usr/lib/libsqlite3.dylib is
also dragged by GDAL.

In my case the problem was :
- I had sqlite3 compiled from superbuild, and exposing version 0.0.0
- sqlite3 was dragged by GDAL
- sqlite3 was dragged by CURL, through an obscure chain of system libs

Your problem might be similar. If so, a fast solution is to disable CURL
when building OTB.
A better solution would be to make CURL and GDAL use the same sqlite3
system library (I don't know if this is possible).

HTH

Guillaume

On 10/02/2015 06:11 AM, Timur Girgin wrote:
> Hello,
> 
> I am trying to build OTB using the your git repository on a MacBook Pro
> with OSX El Capitan installed on it. I am getting an error:
> 
> |
> 
> [95%]Performingconfigure step for'OTB'
> 
> 
> dyld:Librarynotloaded:/usr/lib/libsqlite3.dylib
> 
> 
>  
> Referencedfrom:/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
> 
> 
>   Reason:Incompatiblelibrary version:CFNetworkrequires version
> 9.0.0orlater,but libsqlite3.dylib provides version 0.0.0
> 
> 
> /bin/sh:line 1:34010Trace/BPT trap:5      env
> DYLD_LIBRARY_PATH=/usr/local/lib:/usr/local/Cellar/cmake/3.3.2/bin/cmake
> -C/Users/timur1/Downloads/otb/OTB/tmp/OTB-cache-.cmake "-GUnix
> Makefiles"/Users/timur1/Downloads/otb/SuperBuild/..
> 
> 
> make[2]:***[OTB/src/OTB-stamp/OTB-configure]Error133
> 
> 
> make[1]:***[CMakeFiles/OTB.dir/all]Error2
> 
> 
> make:***[all]Error2
> 
> |
> 
> I have also checked with otool -L, however I am unsure what the problem is
> 
> |
> 
> otool -L /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
> 
> 
> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork:
> 
> 
>        
> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(compatibility
> version 1.0.0,current version 760.0.5)
> 
> 
>         /usr/lib/libauto.dylib (compatibility version 1.0.0,current
> version 1.0.0)
> 
> 
>         /usr/lib/libbsm.0.dylib(compatibility version 1.0.0,current
> version 1.0.0)
> 
> 
>        
> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit(compatibility 
> version
> 1.0.0,current version 275.0.0)
> 
> 
>        
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation(compatibility
> version 150.0.0,current version 1253.0.0)
> 
> 
>        
> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration(compatibility
> version 1.0.0,current version 801.1.1)
> 
> 
>        
> /System/Library/Frameworks/Security.framework/Versions/A/Security(compatibility
> version 1.0.0,current version 57336.1.9)
> 
> 
>         /usr/lib/libsqlite3.dylib (compatibility version 9.0.0,current
> version 216.0.0)
> 
> 
>         /usr/lib/libz.1.dylib(compatibility version 1.0.0,current
> version 1.2.5)
> 
> 
>         /usr/lib/libobjc.A.dylib (compatibility version 1.0.0,current
> version 228.0.0)
> 
> 
>         /usr/lib/libxml2.2.dylib(compatibility version 10.0.0,current
> version 10.9.0)
> 
> 
>         /usr/lib/libicucore.A.dylib (compatibility version 1.0.0,current
> version 55.1.0)
> 
> 
>         /usr/lib/libc++.1.dylib(compatibility version 1.0.0,current
> version 120.1.0)
> 
> 
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,current
> version 1225.1.1)
> 
> |
> 
> Would someone be able to help me figure out this problem?
> 
> Thank you so much!
> 
> Tim
> 
> -- 
> -- 
> 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]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
<www.c-s.fr>    *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département
APPLICATIONS*

*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

-- 
-- 
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.

Reply via email to