Package Details: mariadb-connector-odbc 3.2.3-2

Git Clone URL: https://aur.archlinux.org/mariadb-connector-odbc.git (read-only, click to copy)
Package Base: mariadb-connector-odbc
Description: A standardized, LGPL licensed ODBC database driver for MariaDB
Upstream URL: https://mariadb.com/kb/en/mariadb/mariadb-connector-odbc/
Licenses: LGPL
Conflicts: mariadb-connector-odbc-bin
Submitter: Erroneous
Maintainer: Erroneous
Last Packager: Erroneous
Votes: 7
Popularity: 0.000000
First Submitted: 2016-07-31 17:08 (UTC)
Last Updated: 2024-09-16 15:06 (UTC)

Latest Comments

1 2 Next › Last »

Erroneous commented on 2024-07-08 13:15 (UTC)

@WarmtH I'm unable to reproduce your results when I build the package inside of a clean build environment using the aurutils command aur build --chroot. It looks like you're using paru which I'm unfamiliar with, but if it has a chroot option that might solve your problem.

ma_debug_print is defined in mariadb-connector-odbc-3.2.2-src/driver/ma_debug.h and included in ma_odbc.h on line 407. Maybe you have a conflicting ma_debug.h or ma_odbc.h installed on your system?

WarmtH commented on 2024-07-06 20:27 (UTC)

Currently getting a bunch of build failures that look like this:

/home/foo/.cache/paru/clone/mariadb-connector-odbc/src/mariadb-connector-odbc-3.2.2-src/driver/ma_api_internal.cpp:2438:3: note: in expansion of macro ‘MDBUG_C_DUMP’
 2438 |   MDBUG_C_DUMP(Stmt->Connection, StringLength, d);
      |   ^~~~~~~~~~~~
/home/foo/.cache/paru/clone/mariadb-connector-odbc/src/mariadb-connector-odbc-3.2.2-src/driver/ma_debug.h:71:5: error: ‘ma_debug_print’ was not declared in this scope; did you mean ‘ma_debug_print_error’?
   71 |     ma_debug_print(0, "<<< --- end of function, returning %d ---", _ret); \

linn commented on 2021-09-19 09:28 (UTC)

The source have changed. I could make it work using these.

"https://downloads.mariadb.com/Connectors/odbc/connector-odbc-${pkgver}/${pkgname}-${pkgver}-ga-src.tar.gz"
"https://downloads.mariadb.com/Connectors/c/connector-c-${_c_pkgver}/mariadb-connector-c-${_c_pkgver}-src.tar.gz"

Erroneous commented on 2021-04-06 21:17 (UTC)

@Ravenman I added a patch for this, not sure how I updated before without getting the same issue. Please try 3.1.11-3

Ravenman commented on 2021-04-06 20:16 (UTC)

I have this error:

-- Found Threads: TRUE
-- TLS library/version: OpenSSL 1.1.1k -- SYSTEM_LIBS /usr/lib/libz.so;dl;m;pthread;pthread;dl;m;/usr/lib/libssl.so;/usr/lib/libcrypto.so -- Found GSSAPI: -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -- SYSTEM processor: x86_64 CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO): Flow control statements are not properly nested. Call Stack (most recent call first): libmariadb/CMakeLists.txt:423 (INCLUDE)

Somebody can help me, please?

Thermi commented on 2021-01-01 10:24 (UTC)

The path in the output after installation is wrong. The library is under /usr/lib/mariadb/libmaodbc.so, not /usr/lib/libmaodbc.so.

jose1711 commented on 2020-01-22 08:50 (UTC)

please add armv7h to arch array as it compiles fine there:

mariadb-connector-odbc-3.1.5-1-armv7h.pkg.tar.xz

thanks! j

Erroneous commented on 2019-11-13 14:19 (UTC)

@fiberdistraction Thanks for the diff. 3.1.5 came out yesterday so updated to that.

fiberdistraction commented on 2019-11-08 23:45 (UTC) (edited on 2019-11-08 23:45 (UTC) by fiberdistraction)

Updated version:

diff --git a/PKGBUILD b/PKGBUILD
index e44096d..0ab82b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@

 pkgname=mariadb-connector-odbc
 conflicts=('mariadb-connector-odbc-bin')
-pkgver=3.1.1
-_c_pkgver=3.1.2
+pkgver=3.1.4
+_c_pkgver=3.1.4
 pkgrel=1
 pkgdesc="A standardized, LGPL licensed ODBC database driver for MariaDB"
 arch=('x86_64' 'i686')
@@ -15,8 +15,8 @@ options=('staticlibs')
 source=("https://downloads.mariadb.org/interstitial/connector-odbc-${pkgver}/${pkgname}-${pkgver}-ga-src.tar.gz"
         "https://downloads.mariadb.org/interstitial/connector-c-${_c_pkgver}/mariadb-connector-c-${_c_pkgver}-src.tar.gz")

-sha256sums=('fbfb23b09c83ce468b63488cde7ab6fbe53e24dc8940b964d3114699f1ab5cad'
-            '156aa2de91fd9607fa6c638d23888082b6dd07628652697992bba6d15045ff5d')
+sha256sums=('db22c59ad467badbe5f9bf3f3a8c104ad8edced292158db4d9b904895e7377a0'
+            '7a1a72fee00e4c28060f96c3efbbf38aabcbbab17903e82fce85a85002565316')

 install=mariadb-connector-odbc.install

Erroneous commented on 2019-01-09 15:41 (UTC)

@Singularity thanks for the suggestions!

I could do a split package but there is already a mariadb-connector-c out there and I'd rather not clobber it. The ODBC connector statically links with the C connector so to make the C connector shared lib would require a recompile anyway. Additionally not all AUR helpers handle split packages very well in my experience.

I'll add the socket stuff but keep the install message which tells you how to use it for any situation that doesn't let you manually specify the whole DSN. It lists the Socket line but also Server and Port commented out so that the end user could easily customize as they see fit, though having a correct default is good.

Updated to 3.0.8