Package Details: mariadb-connector-odbc 3.1.20-1

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: 2023-12-04 19:31 (UTC)

Latest Comments

1 2 Next › Last »

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

Singularity commented on 2019-01-09 14:32 (UTC)

Hello, I had a look at your package. Because the License in LGPL, you don't have to install a license file. The so-called documentation seems to be quite useless, you could leave it out, too. Looking at the post-intall message, I wonder if it helps to compile with -DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock

Could you change the description to fit https://wiki.archlinux.org/index.php/PKGBUILD#pkgdesc

Theoretically one could make mariadb-connector-odbc and mariadb-connector-c one split package.

Erroneous commented on 2018-06-25 13:23 (UTC)

Ok, finally got the 3.0.5 working correctly. The new build process doesn't require mariadb-connector-c because it uses git to build it (and mariadb client), but they haven't tightened it down yet to only install libmaodbc.so (and several other issues) so for now I'm not using make install.