Closed hgyxbll closed 1 year ago
Sorry for the obvious question but why do you set SOCI_DEBUG_POSTFIX
for non-Windows systems when it only makes sense for Windows?
I.e. something probably should be improved/fixed there, but the simplest thing to do right now is to just not set it there.
I want to debug soci when use it. so I build debug version and install to /usr/local/lib to test. when publish, i will build release version, than install to /usr/local/lib to test. they are conflict. So if not use SOCI_DEBUG_POSTFIX, how can meet these two requirements?
There is no support for installing multiple versions of SOCI in parallel under Unix. You need to either use different installation prefixes or use it without installing it at all. In any case, the debug suffix thing is Windows-specific and doesn't make any sense under Unix, so it won't be ever supported there.
when set SOCI_DEBUG_POSTFIX at linux/macos, it will Failed to find shared library for backend sqlite3.
cause: at source backend-loader.cpp: