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

« First ‹ Previous 1 2

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.

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" }