Package Details: mingw-w64-postgresql 11.4-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-postgresql.git (read-only)
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: 13
Popularity: 0.78
First Submitted: 2016-08-19 22:49
Last Updated: 2019-06-27 10:26

Pinned Comments

Martchus commented on 2017-06-03 13:19

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

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

xantares commented on 2017-06-03 08:58

hi,
xml2-config is found in /usr/bin and returns host libxml2 includes and fails to build, to fix it to use target /usr/$arch/bin/xml2-config use:
PATH=/usr/${_arch}/bin:$PATH ${_arch}-configure

xan.

Martchus commented on 2017-03-21 13:15

Could you update the package to include static libs. This would be required for mingw-w64-qt5-base-static. See discussion here: https://aur.archlinux.org/packages/mingw-w64-qt5-base-static

Seems like ant32 proposed it already here, but the static version of `libpq.dll.a` is still missing.

According to him, the following lines should do the trick:
```
${_arch}-ar rvs -o libpq.a src/interfaces/libpq/*.o
mv libpq.a "${pkgdir}/usr/${_arch}/lib/"
```

Schala commented on 2015-02-10 19:22

oops ok

ant32 commented on 2015-02-05 18:57

If you have time take a look at fedora postgresql update. They removed pligsql-link patch and added a tcl patch http://pkgs.fedoraproject.org/cgit/mingw-postgresql.git/

ant32 commented on 2015-02-02 20:41

Updated PKGBUILD 9.4.0
https://gist.github.com/ant32/32485a995f3324708b48

ant32 commented on 2014-08-02 22:24

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

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

added staticlibs and removed !libtool
repo and binaries https://sourceforge.net/p/mingw-w64-archlinux/wiki

ant32 commented on 2013-10-14 23:00

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

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