Package Details: mingw-w64-mariadb-connector-c 3.3.1-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-mariadb-connector-c.git (read-only, click to copy)
Package Base: mingw-w64-mariadb-connector-c
Description: MariaDB Connector/C is used to connect applications developed in C/C++ to MariaDB and MySQL databases (mingw-w64)
Upstream URL: https://mariadb.com/kb/en/mariadb/about-mariadb-connector-c
Licenses: LGPL
Conflicts: mingw-w64-libmariadbclient
Provides: mingw-w64-libmariadbclient
Replaces: mingw-w64-libmariadbclient
Submitter: ant32
Maintainer: Martchus
Last Packager: Martchus
Votes: 12
Popularity: 0.000000
First Submitted: 2015-02-05 18:25 (UTC)
Last Updated: 2022-11-07 21:35 (UTC)

Pinned Comments

Martchus commented on 2016-05-31 08:06 (UTC) (edited on 2021-04-15 08:44 (UTC) by Martchus)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs Patches for this package are managed at: https://github.com/Martchus/mariadb-connector-c/tree/v3.1.9-mingw-w64

There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

Latest Comments

« First ‹ Previous 1 2 3 4

ant32 commented on 2013-07-18 21:42 (UTC)

updated to 5.5.32 binaries can be found at http://arch.linuxx.org/

ant32 commented on 2013-05-03 17:01 (UTC)

updated package to use mingw-utils from sourceforge.net fixed problem with linking caused by running strip on libmysql.dll https://github.com/ant32/pkgbuild/commits/master/mingw-w64-libmariadbclient

ant32 commented on 2013-04-29 13:54 (UTC)

I updated the PKBGUILD. Thankyou brcha. the here explains the problem I am having compiling with mingw-w64 mariadb-5.5.30/include/my_pthread.h:60:3: error: unknown type name 'CONDITION_VARIABLE' http://stackoverflow.com/questions/13204576/mysql-5-5-28-build-errors http://stackoverflow.com/questions/6872010/condition-variable-in-windows-wont-compile

brcha commented on 2013-04-29 12:34 (UTC)

No need for a copy, I changed your PKGBUILD a bit. Also, I have 32bit wine prefix in ~/.wine (works better for some of the stuff I use), so I unset WINEARCH and set WINEPREFIX to a ${srcdir}/wineprefix. I believe that is the better approach, and certainly doesn't hurt anybody. Also, I've built qt5 with mariadb and postgresql, so you can check that out as well. Cheers o7 --- PKGBUILD.orig 2013-04-29 14:29:08.724737183 +0200 +++ PKGBUILD 2013-04-29 14:29:01.441097505 +0200 @@ -27,13 +27,16 @@ ln -s mariadb-${pkgver}-win32 i686-w64-mingw32 ln -s mariadb-${pkgver}-winx64 x86_64-w64-mingw32 + + unset WINEARCH + export WINEPREFIX=${srcdir}/wineprefix for _arch in ${_architectures}; do cd "${srcdir}/reimp" ${_arch}-gcc -g -I . reimp.c util.c ar.c -o reimp.exe cd "${srcdir}/${_arch}/lib" wine ${srcdir}/reimp/reimp.exe -d libmysql.lib - /usr/${_arch}/bin/dlltool -k --input-def libmysql.def --dllname libmysql.dll --output-lib libmysql.a + /usr/${_arch}/bin/dlltool -k --input-def libmysql.def --dllname libmysql.dll --output-lib libmysql.dll.a done } @@ -43,10 +46,9 @@ mkdir -p ${pkgdir}/usr/${_arch}/{bin,include,lib} cp -R include ${pkgdir}/usr/${_arch} install -Dm644 lib/libmysql.dll ${pkgdir}/usr/${_arch}/bin/libmysql.dll - # I could not get libmysql.a to link correctly to libmysql.dll without it being in the same directory. - # If someone konws the correct way of doing this please tell me. - cp ${pkgdir}/usr/${_arch}/bin/libmysql.dll ${pkgdir}/usr/${_arch}/lib/libmysql.dll - install -Dm644 lib/libmysql.a ${pkgdir}/usr/${_arch}/lib/libmysql.a - ${_arch}-ranlib ${pkgdir}/usr/${_arch}/lib/libmysql.a + install -Dm644 lib/libmysql.dll.a ${pkgdir}/usr/${_arch}/lib/libmysql.dll.a + ${_arch}-ranlib ${pkgdir}/usr/${_arch}/lib/libmysql.dll.a + ${_arch}-strip --strip-unneeded ${pkgdir}/usr/${_arch}/bin/*.dll + ${_arch}-strip --strip-unneeded ${pkgdir}/usr/${_arch}/lib/*.dll.a done }

ant32 commented on 2013-04-27 23:05 (UTC)

It seemed just placing a link in lib folder wan't enough. I place a copy now.