On Sat, 2010-12-25 at 17:25 +0100, Sylvain Pointeau wrote: > Hi, > > > I cannot make the sqlite3 backend working (macosx). > > it says: > Failed to find shared library for backend sqlite3 >
are you using version 3.0.0? this has a bug in for dynamic loading of the backends, this has been fixed in the development version. The workaround is using: soci::session sql(soci::sqlite3, "test.db"); this then uses the dynamic linked library > > it says: /usr/local/include/soci/sqlite3/soci-sqlite3.h:27: error: > soci-backend.h: No such file or directory > another problem which is currently being addressed. The way to solve this is to add the soci header path as an inlcude search path for the compiler. On unix systems the path is /usr/include/soci so with g++ do: g++ myfile.cpp -I/usr/include/soci ... or you might want to use this (experimental) patch: http://sourceforge.net/tracker/?func=detail&aid=3143529&group_id=121480&atid=690482 Best Regards, Julian Taylor
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
