Hi I was able to SOCI compiled. I constructed an xcode project with cmake
and manually built and lipo-ed the binaries into a fat binary.
#include "soci.h"
#include "soci-sqlite3.h"
soci::session sql(soci::sqlite3, dbPath);
The binaries themselves aren't missing the architecture
Architectures in the fat file: libsoci_sqlite3_static.a are: armv7 armv7s
i386
When I try to run a command I get a raft of errors. At a glance, do they
suggest an obvious issue of what might not be working?
----
Undefined symbols for architecture i386:
"_sqlite3_column_blob", referenced from:
soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool,
soci::indicator*) in libsoci_sqlite3_static.a(standard-into-type.o)
"std::string::end()", referenced from:
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"_sqlite3_column_type", referenced from:
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool,
soci::indicator*) in libsoci_sqlite3_static.a(standard-into-type.o)
"_sqlite3_bind_blob", referenced from:
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
"_sqlite3_bind_text", referenced from:
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
"_sqlite3_step", referenced from:
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"_sqlite3_changes", referenced from:
soci::sqlite3_statement_backend::get_affected_rows() in
libsoci_sqlite3_static.a(statement.o)
"_sqlite3_column_count", referenced from:
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::prepare_for_describe() in
libsoci_sqlite3_static.a(statement.o)
"_sqlite3_reset", referenced from:
soci::sqlite3_statement_backend::reset_if_needed() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"std::string::compare(char const*) const", referenced from:
bool std::operator==<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_sqlite3_static.a(session.o)
"_sqlite3_column_decltype", referenced from:
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"_sqlite3_close", referenced from:
soci::sqlite3_session_backend::clean_up() in
libsoci_sqlite3_static.a(session.o)
"_sqlite3_finalize", referenced from:
soci::sqlite3_statement_backend::clean_up() in
libsoci_sqlite3_static.a(statement.o)
"_sqlite3_exec", referenced from:
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
"_sqlite3_column_bytes", referenced from:
soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool,
soci::indicator*) in libsoci_sqlite3_static.a(standard-into-type.o)
"_sqlite3_bind_null", referenced from:
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
"std::string::find(char const*, unsigned long) const", referenced from:
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"_sqlite3_free", referenced from:
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
"std::allocator<char>::std::allocator(std::allocator<char> const&)",
referenced from:
std::vector<char, std::allocator<char> >::_M_erase_at_end(char*) in
libsoci_sqlite3_static.a(vector-into-type.o)
std::vector<char, std::allocator<char>
::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char,
std::allocator<char> > >, unsigned long, char const&) in
libsoci_sqlite3_static.a(vector-into-type.o)
"std::basic_ostream<char, std::char_traits<char> >&
std::operator<<<char, std::char_traits<char>, std::allocator<char>
(std::basic_ostream<char, std::char_traits<char> >&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)", referenced from:
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
"std::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_stringstream(std::string const&,
std::_Ios_Openmode)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::append(std::string const&)", referenced from:
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
"std::string::operator=(char const*)", referenced from:
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::pre_use(soci::indicator const*)
in libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::pre_use(soci::indicator
const*) in libsoci_sqlite3_static.a(standard-use-type.o)
"std::string::operator[](unsigned long)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::erase(unsigned long, unsigned long)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::basic_istream<char, std::char_traits<char> >& std::getline<char,
std::char_traits<char>, std::allocator<char> >(std::basic_istream<char,
std::char_traits<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_istringstream(std::string const&,
std::_Ios_Openmode)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::istream::operator>>(int&)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::c_str() const", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_vector_use_type_backend::pre_use(soci::indicator const*)
in libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_vector_into_type_backend::post_fetch(bool,
soci::indicator*) in libsoci_sqlite3_static.a(vector-into-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
...
"std::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >::str() const", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"_sqlite3_errmsg", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
"std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced
from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
...
"std::allocator<char>::std::allocator()", referenced from:
soci::connection_pool::give_back(unsigned long) in
libsoci_core_static.a(connection-pool.o)
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::get_backend_name() const in
libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_pos(int&, void*,
soci::details::exchange_type) in libsoci_sqlite3_static.a(vector-use-type.o)
...
"std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:
std::_Rb_tree_iterator<std::pair<std::string const, (anonymous
namespace)::info> >::operator++() in libsoci_core_static.a(backend-loader.o)
"std::string::substr(unsigned long, unsigned long) const", referenced
from:
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
"std::string::length() const", referenced from:
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
"std::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_stringstream()", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::__throw_length_error(char const*)", referenced from:
std::vector<std::string, std::allocator<std::string>
::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, std::string
const&) in libsoci_core_static.a(backend-loader.o)
std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column>
::_M_fill_insert(__gnu_cxx::__normal_iterator<soci::sqlite3_column*,
std::vector<soci::sqlite3_column, std::allocator<soci::sqlite3_column>
, unsigned long, soci::sqlite3_column const&) in
libsoci_sqlite3_static.a(statement.o)
std::vector<std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column> >,
std::allocator<std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column> > >
::_M_fill_insert(__gnu_cxx::__normal_iterator<std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column> >*,
std::vector<std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column> >,
std::allocator<std::vector<soci::sqlite3_column,
std::allocator<soci::sqlite3_column> > > > >, unsigned long,
std::vector<soci::sqlite3_column, std::allocator<soci::sqlite3_column> >
const&) in libsoci_sqlite3_static.a(statement.o)
std::vector<tm, std::allocator<tm>
::_M_fill_insert(__gnu_cxx::__normal_iterator<tm*, std::vector<tm,
std::allocator<tm> > >, unsigned long, tm const&) in
libsoci_sqlite3_static.a(vector-into-type.o)
std::vector<std::string, std::allocator<std::string>
::_M_fill_insert(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, unsigned
long, std::string const&) in libsoci_sqlite3_static.a(vector-into-type.o)
std::vector<double, std::allocator<double>
::_M_fill_insert(__gnu_cxx::__normal_iterator<double*,
std::vector<double, std::allocator<double> > >, unsigned long, double
const&) in libsoci_sqlite3_static.a(vector-into-type.o)
std::vector<unsigned long long, std::allocator<unsigned long long>
::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned long long*,
std::vector<unsigned long long, std::allocator<unsigned long long> >
, unsigned long, unsigned long long const&) in
libsoci_sqlite3_static.a(vector-into-type.o)
...
"std::string::append(char const*, unsigned long)", referenced from:
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
"std::basic_ios<char, std::char_traits<char> >::eof() const",
referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::assign(char const*)", referenced from:
soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool,
soci::indicator*) in libsoci_sqlite3_static.a(standard-into-type.o)
"std::runtime_error::runtime_error(std::string const&)", referenced from:
soci::soci_error::soci_error(std::string const&) in
libsoci_core_static.a(error.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_vector_use_type_backend::sqlite3_vector_use_type_backend(soci::sqlite3_statement_backend&)
in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_standard_use_type_backend::sqlite3_standard_use_type_backend(soci::sqlite3_statement_backend&)
in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_column::sqlite3_column() in
libsoci_sqlite3_static.a(statement.o)
void soci::details::sqlite3::resize_vector<std::string>(void*,
unsigned long) in libsoci_sqlite3_static.a(vector-into-type.o)
"std::string::append(char const*)", referenced from:
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char const*) in
libsoci_core_static.a(backend-loader.o)
"_sqlite3_column_text", referenced from:
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_standard_into_type_backend::post_fetch(bool, bool,
soci::indicator*) in libsoci_sqlite3_static.a(standard-into-type.o)
"_sqlite3_prepare", referenced from:
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
"_sqlite3_bind_parameter_index", referenced from:
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
"_sqlite3_busy_timeout", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::operator=(std::string const&)", referenced from:
std::vector<std::string, std::allocator<std::string>
::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, std::string
const&) in libsoci_core_static.a(backend-loader.o)
std::string* std::__copy_backward<false,
std::random_access_iterator_tag>::__copy_b<std::string*,
std::string*>(std::string*, std::string*, std::string*) in
libsoci_core_static.a(backend-loader.o)
std::string* std::__copy<false,
std::random_access_iterator_tag>::copy<std::string*,
std::string*>(std::string*, std::string*, std::string*) in
libsoci_core_static.a(backend-loader.o)
std::string* std::__copy<false,
std::random_access_iterator_tag>::copy<std::string const*,
std::string*>(std::string const*, std::string const*, std::string*) in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_column::operator=(soci::sqlite3_column const&) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
...
"_sqlite3_column_name", referenced from:
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"std::string::begin()", referenced from:
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
"std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::str() const", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
...
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
void std::_Construct<std::string, std::string>(std::string*,
std::string const&) in libsoci_core_static.a(backend-loader.o)
__gnu_cxx::new_allocator<std::string>::construct(std::string*,
std::string const&) in libsoci_core_static.a(backend-loader.o)
std::vector<std::string, std::allocator<std::string>
::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, std::string
const&) in libsoci_core_static.a(backend-loader.o)
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char const*) in
libsoci_core_static.a(backend-loader.o)
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::rewrite_for_procedure_call(std::string
const&) in libsoci_sqlite3_static.a(statement.o)
...
"soci::session::session(soci::backend_factory const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)", referenced from:
SoFancyApp::setup() in SoFancyApp.o
"_sqlite3_open", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::allocator<char>::~std::allocator()", referenced from:
soci::connection_pool::give_back(unsigned long) in
libsoci_core_static.a(connection-pool.o)
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::get_backend_name() const in
libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_pos(int&, void*,
soci::details::exchange_type) in libsoci_sqlite3_static.a(vector-use-type.o)
...
"std::string::reserve(unsigned long)", referenced from:
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
"std::string::size() const", referenced from:
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::pre_use(soci::indicator const*)
in libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::pre_use(soci::indicator
const*) in libsoci_sqlite3_static.a(standard-use-type.o)
"std::string::find(char, unsigned long) const", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::string::empty() const", referenced from:
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
soci::session::~session() in libsoci_core_static.a(session.o)
std::pair<char const* const, std::string>::~pair() in
libsoci_core_static.a(session.o)
soci::connection_parameters::~connection_parameters() in
libsoci_core_static.a(session.o)
soci::connection_pool::give_back(unsigned long) in
libsoci_core_static.a(connection-pool.o)
std::pair<std::string const, (anonymous namespace)::info>::~pair() in
libsoci_core_static.a(backend-loader.o)
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
void std::_Destroy<std::string>(std::string*) in
libsoci_core_static.a(backend-loader.o)
...
"std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_ostringstream()", referenced from:
soci::session::~session() in libsoci_core_static.a(session.o)
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
...
"std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_istringstream()", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
soci::connection_pool::give_back(unsigned long) in
libsoci_core_static.a(connection-pool.o)
(anonymous namespace)::get_default_paths() in
libsoci_core_static.a(backend-loader.o)
soci::sqlite3_session_backend::get_backend_name() const in
libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::bind_and_execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::execute(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::describe_column(int,
soci::data_type&, std::string&) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_pos(int&, void*,
soci::details::exchange_type) in libsoci_sqlite3_static.a(vector-use-type.o)
...
"std::basic_ostream<char, std::char_traits<char> >&
std::operator<<<std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*)", referenced from:
soci::sqlite3_session_backend::sqlite3_session_backend(soci::connection_parameters
const&) in libsoci_sqlite3_static.a(session.o)
(anonymous namespace)::execude_hardcoded(sqlite_api::sqlite3*, char
const*, char const*) in libsoci_sqlite3_static.a(session.o)
soci::sqlite3_statement_backend::prepare(std::string const&,
soci::details::statement_type) in libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_rowset(int) in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_statement_backend::load_one() in
libsoci_sqlite3_static.a(statement.o)
soci::sqlite3_vector_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type) in
libsoci_sqlite3_static.a(vector-use-type.o)
soci::sqlite3_standard_use_type_backend::bind_by_name(std::string
const&, void*, soci::details::exchange_type, bool) in
libsoci_sqlite3_static.a(standard-use-type.o)
...
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
--
View this message in context: http://soci.6940.n7.nabble.com/Re-soci-users-CMake-FInd-threads-iOS-tp3400p3420.html
Sent from the soci-users mailing list archive at Nabble.com.