You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
When setting the option Poco:enable_data_odbc=True in conanfile.txt, I get a lot of undefined reference errors when compiling an application that uses the Poco ODBC libs.
The errors all look like this: /home/boris/.conan/data/Poco/1.9.0/pocoproject/stable/package/8ff847771efbee842b91e2e6c0d9a317b218c63c/lib/libPocoDataODBC.a(Parameter.cpp.o): In function 'Poco::Data::ODBC::Parameter::init()': Parameter.cpp:(.text+0x3b): undefined reference to 'SQLDescribeParam' collect2: error: ld returned 1 exit status
When setting Poco:shared=True , this does not happen.
I would like to link Poco statically to my program and use ODBC. Any ideas what could cause this?
The text was updated successfully, but these errors were encountered:
By the way, I am building with stdc++11 and I have set compiler.libcxx=libstdc++11 in .conan/profiles/default. Perhaps there could be an ABI incompatibility issue?
When setting the option
Poco:enable_data_odbc=True
in conanfile.txt, I get a lot of undefined reference errors when compiling an application that uses the Poco ODBC libs.The errors all look like this:
/home/boris/.conan/data/Poco/1.9.0/pocoproject/stable/package/8ff847771efbee842b91e2e6c0d9a317b218c63c/lib/libPocoDataODBC.a(Parameter.cpp.o): In function 'Poco::Data::ODBC::Parameter::init()': Parameter.cpp:(.text+0x3b): undefined reference to 'SQLDescribeParam' collect2: error: ld returned 1 exit status
When setting
Poco:shared=True
, this does not happen.I would like to link Poco statically to my program and use ODBC. Any ideas what could cause this?
The text was updated successfully, but these errors were encountered: