Updated PKGBUILD 9.4.0
https://gist.github.com/ant32/32485a995f3324708b48
Search Criteria
Package Details: mingw-w64-postgresql 16.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-postgresql.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-postgresql |
Description: | Sophisticated object-relational DBMS (mingw-w64) |
Upstream URL: | https://www.postgresql.org |
Keywords: | mingw mingw-w64 postgresql postgresql-libs |
Licenses: | custom:PostgreSQL |
Conflicts: | mingw-w64-postgresql-libs |
Provides: | mingw-w64-postgresql-libs |
Replaces: | mingw-w64-postgresql-libs |
Submitter: | Schala |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2016-08-19 22:49 (UTC) |
Last Updated: | 2024-08-01 18:17 (UTC) |
Dependencies (7)
- mingw-w64-gettextAUR
- mingw-w64-icuAUR
- mingw-w64-libxml2AUR
- mingw-w64-opensslAUR
- mingw-w64-readlineAUR
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- mingw-w64-configureAUR (llvm-mingw-w64-configureAUR) (make)
Required by (12)
- mingw-w64-gdal
- mingw-w64-pdal (requires mingw-w64-postgresql-libs)
- 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)
ant32 commented on 2015-02-02 20:41 (UTC)
ant32 commented on 2014-08-02 22:24 (UTC)
These are the links I needed to make as a result of -lpq
-lintl -liconv -lssl -lcrypto -lwldap32 -lshfolder -lwsock32 -lws2_32 -lsecur32 -lgdi32
ant32 commented on 2014-08-02 22:22 (UTC)
I'm not sure it this is the best way but I'd like for the package to include the static libpq.a. The only way I could find was to do it manually
${_arch}-ar rvs -o libpq.a src/interfaces/libpq/*.o
mv libpq.a "${pkgdir}/usr/${_arch}/lib/"
Could you add those lines right after
for implib in "${pkgdir}/usr/${_arch}/lib/"*.a; do
mv $implib ${implib/.a/.dll.a}
done
(It may be possible to do the same thing with the other postgresql libs. I only tested libpq.a)
ant32 commented on 2013-10-28 16:52 (UTC)
added staticlibs and removed !libtool
repo and binaries https://sourceforge.net/p/mingw-w64-archlinux/wiki
ant32 commented on 2013-10-14 23:00 (UTC)
Update to 9.3.1
Download binaries at http://arch.linuxx.org
View Changes https://github.com/ant32/pkgbuild/commits/master/mingw-w64-postgresql-libs
ant32 commented on 2013-08-23 14:03 (UTC)
patched to build against newer versions of mingw
changes to PKGBUILD can be found here https://github.com/ant32/pkgbuild/commits/master/mingw-w64-postgresql-libs
binaries can be found at http://arch.linuxx.org/
This updated dlls will cause your app to have the following additional dependencies.
iconv.dll
libintl-8.dll
libeay32.dll
ssleay32.dll
ant32 commented on 2013-06-27 17:28 (UTC)
Here are 2 bug reports on the problem I'm having with this package. I'm goint to revert back to the binararies compiled with GCC 4.7 till this is resolved.
http://www.postgresql.org/message-id/E1UcLPd-0000L4-TI@wrigleys.postgresql.org
http://www.postgresql.org/message-id/E1UbELM-0007NK-5L@wrigleys.postgresql.org
http://web.archiveorange.com/archive/v/alpsnI5qxqL0GNdi2mge
http://www.progtown.com/topic1055073-postgresql-and-mingw-operation-would-blok-0x0000.html
@bracha next time you post package list doing the following gives a prettier output
pacman -Q | grep mingw
ant32 commented on 2013-06-15 22:07 (UTC)
It might be that gcc 4.8.1 is working again. I'm recompiling but probably won't have time till monday to test it. I'm planning to make the packages available online for those that don't want to spend 10 hours compiling the mingw packages for Arch Linux.
I'm getting the same error again.
"could not connect to serber: Operation would block (0x00002733/10035)
is the server running on host "192.168.1.1" and accepting
TCP/IP connections on port 4232?
QPSQL: Unable to connect"
brcha commented on 2013-06-14 16:46 (UTC)
Works for me... Here's the list of my mingw packages if it helps:
http://pastebin.ca/2398813
Pinned Comments
Martchus commented on 2017-06-03 13:19 (UTC) (edited on 2019-01-28 13:06 (UTC) by Martchus)
Important note
This package must be built in a clean chroot or at least without the previous version being installed. Otherwise PostgeSQL's build system seems to pick up the installed version of certain libraries rather than the version produced by the current build. (You would get a linker error like
undefined reference to 'AllocSetContextCreateExtended'
.)All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff