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

Adnan RIHAN axel50397 at gmail.com
Thu Nov 27 07:28:41 EST 2014


On 27 novembre 2014 at 13:22:51, David Sarrut (david.sarrut at creatis.insa-lyon.fr(mailto:david.sarrut at creatis.insa-lyon.fr)) wrote:

> libc++abi.dylib: terminating with uncaught exception of type
> std::bad_alloc: std::bad_alloc
> Abort trap: 6
> which is probably related to the confusion between libc++ / libstdc++ (of
> odb brew ?).

Don’t give up ! This is one of the errors I had !  
And yes, it’s because of the confusion between libc++ and libstdc++. Personnaly, I was able to compile (on maverick) libodb/libodb-sqlite using libstdc++, and it works now. Just add these flags when configuring libodb*:
> CC=clang CXX="clang++ -stdlib=libstdc++" LDFLAGS=-L/usr/lib LIBS=-lstdc++

And keep us updated ;)  
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n’utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).

More information about the odb-users mailing list