The weird thing is that according to the SuperBuild "System checkup 
results", I should be using the SQLite3 version of the superbuild. Is the 
following file "/usr/local/lib/libgdal.1.dylib" where the error is coming 
from?

On Monday, October 5, 2015 at 3:59:49 AM UTC-5, Guillaume Pasero wrote:
>
> I think you are using the wrong sqlite3 lib when compiling GDAL. 
> Do you use your system version of sqlite3 ? I order to compile GDAL, you 
> should use the SuperBuild version of SQLite3. 
>
> If you want to inspect symbols in shared library, you can use : 
> $ nm  -a  your_lib.dylib 
>
> The trick is that on MacOSX, some libs (such as Sqlite3) are already on 
> the system, but they don't expose the expected symbols. 
>
> Guillaume 
>
> On 10/02/2015 08:23 PM, Timur Girgin wrote: 
> > Sorry for the multiple postings, however I have succeeded in solving 
> > those errors. 
> > 
> > I have now a new error that just came up... I hope someone has a 
> > solution to this. 
> > | 
> > 
> > Cellar/postgresql/9.4.4/lib -lpq -ldl -lcurl -liconv 
> > 
> -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib
>  
>
> > -lxml2 -lz -lpthread -licucore -lm    -install_name 
> >  /usr/local/lib/libgdal.1.dylib-compatibility_version 20-current_version 
> > 20.2-Wl,-single_module 
> > 
> > 
> > Undefinedsymbols forarchitecture x86_64: 
> > 
> > 
> >   "_sqlite3_column_table_name",referenced from: 
> > 
> > 
> >       _OGRSQLITE_static_routines inogrsqliteapiroutines.o 
> > 
> > 
> >       
> > 
> OGRSQLiteSelectLayer::OGRSQLiteSelectLayer(OGRSQLiteDataSource*,CPLString,sqlite3_stmt*,int,int,int)inogrsqliteselectlayer.o
>  
>
> > 
> > 
> > ld:symbol(s)notfound forarchitecture x86_64 
> > 
> > 
> > clang:error:linker command failed withexitcode 1(use-v to see 
> invocation) 
> > 
> > 
> > make[5]:***[libgdal.la]Error1 
> > 
> > 
> > make[4]:***[check-lib]Error2 
> > 
> > 
> > make[3]:***[GDAL/src/GDAL-stamp/GDAL-build]Error2 
> > 
> > 
> > make[2]:***[CMakeFiles/GDAL.dir/all]Error2 
> > 
> > 
> > make[1]:***[CMakeFiles/GDAL.dir/rule]Error2 
> > 
> > 
> > make:***[GDAL]Error2 
> > 
> > | 
> > 
> > Thank you! 
> > 
> > 
> > On Friday, October 2, 2015 at 11:33:23 AM UTC-5, Timur Girgin wrote: 
> > 
> >     Hello Guillaume, 
> > 
> >     Playing with the files a bit, I succeeded (I think) in getting 
> >     passed that error. However, I am getting a new error: 
> > 
> >     | 
> > 
> >     "_png_write_row",referenced from: 
> > 
> > 
> >           _imagetopng inconvert.c.o 
> > 
> > 
> >     ld:symbol(s)notfound forarchitecture x86_64 
> > 
> > 
> >     clangclang::errorerror::linker command failed withexitcode 1(use-v 
> >     to see invocation)linker command failed withexitcode 1(use-v to see 
> >     invocation) 
> > 
> > 
> > 
> > 
> >     make[5]:***[bin/opj_compress]Error1 
> > 
> > 
> >     make[4]:***[src/bin/jp2/CMakeFiles/opj_compress.dir/all]Error2 
> > 
> > 
> >     make[4]:***Waitingforunfinished jobs.... 
> > 
> > 
> >     make[5]:***[bin/opj_dump]Error1 
> > 
> > 
> >     make[5]:***[bin/opj_decompress]Error1 
> > 
> > 
> >     make[4]:***[src/bin/jp2/CMakeFiles/opj_decompress.dir/all]Error2 
> > 
> > 
> >     make[4]:***[src/bin/jp2/CMakeFiles/opj_dump.dir/all]Error2 
> > 
> > 
> >     make[3]:***[all]Error2 
> > 
> > 
> >     make[2]:***[OPENJPEG/src/OPENJPEG-stamp/OPENJPEG-build]Error2 
> > 
> > 
> >     make[1]:***[CMakeFiles/OPENJPEG.dir/all]Error2 
> > 
> > 
> >     make[1]:***Waitingforunfinished jobs.... 
> > 
> > 
> >     make[5]:***Norule to make target `/usr/local/lib/libjpeg.dylib', 
> >     needed by `Release/libossim.dylib'.  Stop. 
> > 
> > 
> >     make[4]: *** [src/ossim/CMakeFiles/ossim.dir/all] Error 2 
> > 
> > 
> >     make[3]: *** [all] Error 2 
> > 
> > 
> >     make[2]: *** [OSSIM/src/OSSIM-stamp/OSSIM-build] Error 2 
> > 
> > 
> >     make[1]: *** [CMakeFiles/OSSIM.dir/all] Error 2 
> > 
> > 
> >     make: *** [all] Error 2 
> > 
> >     | 
> > 
> >     Do you have any idea on what is causing that to happen? 
> > 
> >     Thank you, 
> >     Tim 
> > 
> > 
> > 
> >     On Friday, October 2, 2015 at 9:21:17 AM UTC-5, Guillaume Pasero 
> wrote: 
> > 
> >         Yes, 
> >         either change it directly in the CMakeCache.txt, or use the 
> >         N-Curses 
> >         interface 'ccmake .' to do it. 
> > 
> >         Guillaume 
> > 
> >         On 10/02/2015 04:07 PM, Timur Girgin wrote: 
> >         > Hello Guillaume, 
> >         > 
> >         > Thank you for the help. However, I am unsure on how to 
> >         deactivate curl 
> >         > for OTB's build. Am I just supposed to change the boolean 
> >         value to FALSE 
> >         > for OTB_USE_CURL in the CMakeCache.txt file? 
> >         > 
> >         > Thank you! 
> >         > 
> >         > Tim 
> >         > 
> >         > On Friday, October 2, 2015 at 2:10:01 AM UTC-5, Guillaume 
> >         Pasero wrote: 
> >         > 
> >         >     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 
> >         <http://www.orfeo-toolbox.org/FAQ.html> 
> >         >     <http://www.orfeo-toolbox.org/FAQ.html 
> >         <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] 
> >         >     <javascript:> 
> >         >     > To unsubscribe from this group, send email to 
> >         >     > [email protected] <javascript:> 
> >         >     > For more options, visit this group at 
> >         >     > http://groups.google.com/group/otb-users?hl=en 
> >         <http://groups.google.com/group/otb-users?hl=en> 
> >         >     <http://groups.google.com/group/otb-users?hl=en 
> >         <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] 
> <javascript:> 
> >         >     > <mailto:[email protected] <javascript:>>. 
> >         >     > For more options, visit 
> >         https://groups.google.com/d/optout 
> >         <https://groups.google.com/d/optout> 
> >         >     <https://groups.google.com/d/optout 
> >         <https://groups.google.com/d/optout>>. 
> >         > 
> >         >     -- 
> >         >     <www.c-s.fr <http://www.c-s.fr> <http://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/ 
> >         <https://thor.si.c-s.fr/blogs/cs-blogs-business/> 
> >         >     <https://thor.si.c-s.fr/blogs/cs-blogs-business/ 
> >         <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] <javascript:> 
> >         > 
> >         > -- 
> >         > -- 
> >         > Check the OTB FAQ at 
> >         > http://www.orfeo-toolbox.org/FAQ.html 
> >         <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 
> >         <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 
> >         <https://groups.google.com/d/optout>. 
> > 
> >         -- 
> >         <www.c-s.fr <http://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/ 
> >         <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] 
> <javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > 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] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > 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] <javascript:> 
>
>

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