Hi Wolfgang, Make sure that LD_LIBRARY_PATH contains unixodbc libs. You may set the following: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/unixODBC/lib
Thanks, Pavel чт, 12 нояб. 2020 г. в 19:44, Wolfgang Meyerle < wolfgang.meye...@googlemail.com>: > Hi, > > I'm currently struggling a little bit getting Ignite up and running with > UnixOdbc on my OSX machine. > > I'm compiling the platform cpp files atm with > > cmake -DWITH_ODBC=ON -DWITH_THIN_CLIENT=ON -DWITH_TESTS=ON > -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/Users/user/ApacheIgnite .. > > > and getting: > > Undefined symbols for architecture x86_64: > "_SQLGetPrivateProfileString", referenced from: > ignite::odbc::ReadDsnString(char const*, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > const&, std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&) in > dsn_config.cpp.o > "_SQLInstallerError", referenced from: > ignite::odbc::ThrowLastSetupError() in dsn_config.cpp.o > "_SQLWritePrivateProfileString", referenced from: > ignite::odbc::WriteDsnString(char const*, char const*, char > const*) in dsn_config.cpp.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [odbc/libignite-odbc.2.9.0.50002.dylib] Error 1 > make[1]: *** [odbc/CMakeFiles/ignite-odbc.dir/all] Error 2 > make: *** [all] Error 2 > > as an output. > > > Any ideas? > > My rough guess is that the UnixOdbc interface must have changed. > Currently I'm using version unixodbc 2.3.9 according to brew. > > Apache Ignite is in version apache-ignite-2.9.0 > > > Regards, > > > Wolfgang > > -- Regards Pavel Vinokurov