updated to 5.5.33.a
changes to PKGBUILD can be found here https://github.com/ant32/pkgbuild/commits/master/mingw-w64-libmariadbclient/PKGBUILD
binaries can be found at http://arch.linuxx.org/
Since this package needs to download aproximatly 300MB I highly suggest to use my prebuild package.
I'd appreciate if someone would find a way to build this with mingw.
Search Criteria
Package Details: mingw-w64-mariadb-connector-c 3.3.10-2
Package Actions
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 client libraries (mingw-w64) |
Upstream URL: | https://mariadb.com/kb/en/mariadb/about-mariadb-connector-c |
Licenses: | LGPL-2.1-or-later |
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: | 2024-08-11 18:15 (UTC) |
Dependencies (5)
- mingw-w64-crt (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR, llvm-mingwAUR)
- mingw-w64-curlAUR
- mingw-w64-zlibAUR
- mingw-w64-cmakeAUR (llvm-mingw-w64-cmakeAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
Required by (11)
- mingw-w64-gdal
- mingw-w64-qt5-base (make)
- mingw-w64-qt5-base (optional)
- mingw-w64-qt5-base-static (make)
- mingw-w64-qt5-base-static (optional)
- mingw-w64-qt5-tools (make)
- mingw-w64-qt5-tools-static (make)
- mingw-w64-qt6-base (make)
- mingw-w64-qt6-base (optional)
- mingw-w64-qt6-base-static (make)
- mingw-w64-qt6-base-static (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4
ant32 commented on 2013-10-05 23:07 (UTC)
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.
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