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

« First ‹ Previous 1 2

Erroneous commented on 2018-06-08 11:41 (UTC)

@wyrucz I had the makedepends set too conservatively. If there are any issues with later versions I'll change them to compensate but hopefully there'll be a new ODBC connector by then.

wyrucz commented on 2018-06-07 16:11 (UTC)

Dependency for mariadb-connector-c 3.0.3 is outdated. mariadb-connector-c 3.0.4-1 is in AUR now.

!! While searching for solutions the following errors occurred: :: Not provided: mariadb-connector-c=3.0.3 but needed by mariadb-connector-odbc-3.0.3-1

Erroneous commented on 2017-10-16 21:17 (UTC)

3.0.2 is out now. I had to replace a #define with the value defined on github repo for mariadb-connector-c because its commit isn't yet in a release. https://github.com/MariaDB/mariadb-connector-c/commit/0334aa4811ae751d3362facad136c25b9765693a

Erroneous commented on 2017-08-21 16:58 (UTC)

@artemklevtsov 3.0.1 is still in beta. When a stable release comes out I'll use that. You could make a -beta package if you'd like. Updated to the latest stable of 2.0.15. I did ldd /usr/lib/libmaodbc.so and it doesn't refer to anything from mariadb-connector-c so I'm keeping it in makedepends. Also I used a docker container and made sure you can build without libmariadbclient and you can. Everything looks to be statically linked.

artemklevtsov commented on 2017-08-18 13:09 (UTC) (edited on 2017-08-21 07:50 (UTC) by artemklevtsov)

Updated PKGBUILD: # Maintainer: Aaron Bishop < erroneous at gmail > pkgname=mariadb-connector-odbc conflicts=('mariadb-connector-odbc-bin') pkgver=3.0.1 pkgrel=1 pkgdesc="MariaDB Connector/ODBC is a standardized, LGPL licensed database driver using the industry standard ODBC API" arch=('x86_64' 'i686') url="https://mariadb.com/kb/en/mariadb/mariadb-connector-odbc/" license=('LGPL') depends=('unixodbc>=2.3' 'openssl' 'mariadb-connector-c>=3.0') makedepends=('libmariadbclient') options=('staticlibs') source=("https://downloads.mariadb.org/interstitial/connector-odbc-${pkgver}/mariadb-connector-odbc-${pkgver}-beta-src.tar.gz") sha1sums=('8d6063eddd57c1b847b63126a876ce341d3d8dc6') install=mariadb-connector-odbc.install prepare() { cd "${srcdir}/${pkgname}-${pkgver}-beta-src" rm -rf build mkdir build cd build cmake .. \ -G"Unix Makefiles" \ -DWITH_OPENSSL=ON \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMARIADB_INCLUDE_DIR=/usr/include/mariadb \ -DMARIADB_LIBRARY_DIR=/usr/lib/mariadb } build() { cd "${srcdir}/${pkgname}-${pkgver}-beta-src/build" make } package() { cd "${srcdir}/${pkgname}-${pkgver}-beta-src/build" make DESTDIR="${pkgdir}" install mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib" }