in the mean time this package must override the cmake lib search var
xan.
Search Criteria
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) |
Dependencies (5)
- mingw-w64-crt
- mingw-w64-curlAUR
- mingw-w64-opensslAUR
- mingw-w64-zlibAUR
- mingw-w64-cmakeAUR (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 (3)
xantares commented on 2017-07-06 19:08 (UTC)
Martchus commented on 2017-07-04 18:52 (UTC) (edited on 2017-07-04 18:58 (UTC) by Martchus)
@xantares I guess this problem will be solved when mingw-w64-openssl includes a symlink libcrypto.dll to libcrypto-1_1.dll. Then CMake should be able to find the current version and will not wrongly fall back to legacy. I didn't notice myself because I've built the package in a clean chroot which would be a workaround for the problem.
Note that it should not be a problem when this package links against current OpenSSL while Qt 5 itself still uses the legacy version. At least the idea is that symbol clash is prevented via https://aur.archlinux.org/cgit/aur.git/tree/openssl-1.0-versioned-symbols.patch?h=mingw-w64-openssl-1.0. Hopefully this patch does not prevent the runtime loading mechanism of Qt to work. (I guess I have never explicitly tested whether OpenSSL built with that patch can still be loaded at runtime. Maybe the native Qt 5 package uses link-time config for a reason?)
xantares commented on 2017-07-04 16:44 (UTC)
hi,
It links to openssl-1.0 when installed:
-- Found OpenSSL: /usr/i686-w64-mingw32/bin/libeay32.dll (found version "1.1.0f")
how to deal with this as its used by qt4 & qt5 which use different versions of openssl themselves, not very urgent as I guess it's just some kind of optional plugin
xan.
Martchus commented on 2016-09-19 08:38 (UTC)
Sorry, I've forgot to update. I will do it later. Maybe I'll just change it to skip because the patches are part of the same archive anyways.
rubdos commented on 2016-09-19 08:35 (UTC)
Seems like the patch files don't pass the sha1 test:
==> Validating source files with sha1sums...
mariadb-connector-c-2.3.1-src.tar.gz ... Passed
0001-Fix-libnames-for-mingw-w64.patch ... FAILED
0002-Fix-_SIZE_T_DEFINED-under-mingw-w64.patch ... FAILED
0003-Use-fopen-rather-than-fopen_s-for-XP-compatibility.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
Martchus commented on 2016-05-31 08:08 (UTC) (edited on 2016-05-31 21:08 (UTC) by Martchus)
Updated the package to the latest version. I just used the sources from the regular mariadb-connector-c, updated the patches and fixed some minor mistakes.
EDIT: 32-Bit version seems to be broken. Has probably something to do with the calling convention.
EDIT: It should be fixed now. stdcall decorated symbols should now be exported correctly in libmariadb.dll.
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
SplitFire commented on 2016-05-31 00:56 (UTC)
Source code can be downloaded here: http://archive.mariadb.org//connector-c-2.1.0/source-tgz/mariadb-connector-c-2.1.0-src.tar.gz
yan12125 commented on 2016-05-30 05:09 (UTC)
https://downloads.mariadb.org/interstitial/connector-c-2.1.0/source-tgz/mariadb-connector-c-2.1.0-src.tar.gz results in 404.
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