[odb-users] Issue on OSX 10.10 (Yosemite)

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Wed Nov 26 10:47:14 EST 2014


Hello,

I tried to restart from scratch, and I reinstalled odb + libodb +
libodb-sqlite with brew. Now, I get error during linking (I suppose it
worked previously because of several dependencies) :

Undefined symbols for architecture x86_64:
  "odb::sqlite::query_base::append(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)",
referenced from:
      odb::sqlite::query_column<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
(odb::sqlite::database_type_id)2>::like(odb::sqlite::val_bind<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > >) const in
libsydStudyDatabase.a(sydStudyDatabase.cxx.o)

any idea ? Maybe a simple path to set ?

David
PS: Boris : it is not clear for me what you suggested. Do you suggest I
install odb executable with brew, but the lib odb and libodb-sqlite by
recompiling source from the package from the web site :
http://www.codesynthesis.com/download/odb/2.3/libodb-2.3.0.tar.gz ?




On Wed, Nov 26, 2014 at 10:37 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Adnan,
>
> Adnan RIHAN <axel50397 at gmail.com> writes:
>
> > Concerning runtime errors, I’ll let codesynthesis answer that ;)
>
> I am not really interested in exploring all the possible ways one
> can screw themselves up on MacOS (it seems a couple of new ways are
> added with each new version). There are multiple compilers, multiple
> incompatible C++ runtimes (libc++ and libstdc++), XCode vs command
> line tools vs brew-built GCC. And if that's not bad enough for you,
> throw in the Qt/QtCreator mess.
>
> The only configuration that I am interested in is the simplest one:
>
> 1. Get the pre-built ODB compiler from the download page. Temporarily,
>    for Yosemite, use the Brew package, *BUT*, just for the ODB compiler.
>
> 2. Build all the ODB runtimes using exactly the same compiler and exactly
>    the same options as you are building your application. Specifically,
>    don't use the Brew packages unless you build you rapplication with
>    Brew as well.
>
> If this doesn't work for you, let me know. Otherwise, you are on your
> own.
>
> Boris
>
>


-- 
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________


More information about the odb-users mailing list