Klemm, Markus
2014-08-14 14:10:49 UTC
Hi everybody,
I'm using Dev C++ 5.7.1 with mingw 4.8.1.on windows 7 x64 SP1, and successfully built both soci 3.2.2. and also the latest version from the master branch (commit f0c0d25a9160a237c9ef8eddf9f28651621192f3).
Tests with mingw32-make were ok for the mssql odbc test connection.
But when I'm trying to connect/set the connection parameter to the very same database via the odbc backend I'm getting a exception: "Failed to find shared library for backend odbc".
I'm confused I linked all 3 libs for the compiler, so there aren't any linker errors, but it fails at runtime.
"C:/Program Files (x86)/SOCI/lib64/libsoci_core_3_2.a"
"C:/Program Files (x86)/SOCI/lib64/libsoci_odbc_3_2.a"
"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib/libodbc32.a"
Mit freundlichen Grüßen
Markus Klemm
I'm using Dev C++ 5.7.1 with mingw 4.8.1.on windows 7 x64 SP1, and successfully built both soci 3.2.2. and also the latest version from the master branch (commit f0c0d25a9160a237c9ef8eddf9f28651621192f3).
Tests with mingw32-make were ok for the mssql odbc test connection.
But when I'm trying to connect/set the connection parameter to the very same database via the odbc backend I'm getting a exception: "Failed to find shared library for backend odbc".
I'm confused I linked all 3 libs for the compiler, so there aren't any linker errors, but it fails at runtime.
"C:/Program Files (x86)/SOCI/lib64/libsoci_core_3_2.a"
"C:/Program Files (x86)/SOCI/lib64/libsoci_odbc_3_2.a"
"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib/libodbc32.a"
Mit freundlichen Grüßen
Markus Klemm