{"id":19310545,"url":"https://github.com/sepppenner/pgbouncerwinbinaries","last_synced_at":"2025-11-14T21:05:06.286Z","repository":{"id":82869307,"uuid":"224607415","full_name":"SeppPenner/PgBouncerWinBinaries","owner":"SeppPenner","description":"PgBouncerWinBinaries is a project to host pre-built Windows binaries of the pgBouncer project.","archived":false,"fork":false,"pushed_at":"2024-05-16T19:45:07.000Z","size":9593,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T02:10:41.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sepppenner.github.io/PgBouncerWinBinaries/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeppPenner.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-28T08:39:28.000Z","updated_at":"2024-05-16T19:45:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"e12e69cf-9c93-49cc-81dc-030e7283551c","html_url":"https://github.com/SeppPenner/PgBouncerWinBinaries","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FPgBouncerWinBinaries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FPgBouncerWinBinaries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FPgBouncerWinBinaries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FPgBouncerWinBinaries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeppPenner","download_url":"https://codeload.github.com/SeppPenner/PgBouncerWinBinaries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240411668,"owners_count":19797127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T00:24:42.737Z","updated_at":"2025-11-14T21:05:06.161Z","avatar_url":"https://github.com/SeppPenner.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"PgBouncerWinBinaries\n====================================\n\nPgBouncerWinBinaries is a project to host pre-built Windows binaries of the [pgBouncer](https://www.pgbouncer.org/) project.\nThe page can be viewed under [https://sepppenner.github.io/PgBouncerWinBinaries/](https://sepppenner.github.io/PgBouncerWinBinaries/).\n\n[![Build status](https://ci.appveyor.com/api/projects/status/502wxfe78xcfihm9?svg=true)](https://ci.appveyor.com/project/SeppPenner/pgbouncerwinbinaries)\n[![GitHub issues](https://img.shields.io/github/issues/SeppPenner/PgBouncerWinBinaries.svg)](https://github.com/SeppPenner/PgBouncerWinBinaries/issues)\n[![GitHub forks](https://img.shields.io/github/forks/SeppPenner/PgBouncerWinBinaries.svg)](https://github.com/SeppPenner/PgBouncerWinBinaries/network)\n[![GitHub stars](https://img.shields.io/github/stars/SeppPenner/PgBouncerWinBinaries.svg)](https://github.com/SeppPenner/PgBouncerWinBinaries/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/SeppPenner/PgBouncerWinBinaries/master/License.txt)\n[![Gitter](https://badges.gitter.im/PgBouncerWinBinaries/community.svg)](https://gitter.im/PgBouncerWinBinaries/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\nStill work in progress, I don't know where to get `pgbevent.dll` at the moment. There is also an issue with pandoc in the development state: Check [this response](https://github.com/pgbouncer/pgbouncer/issues/442#issuecomment-601126287) on Github for a workaround.\n\n## Downloads built by me:\n* 1.12.0: [Download](/Downloads/pgbouncer-1.12.0-win-x64.zip) --\u003e Still has the issue under https://github.com/SeppPenner/PgBouncerWinBinaries/issues/1 meaning that it is not statically linked with msys libraries, so the user using it will not be able to run it unless he has msys installed.\n\n## Downloads from Saito:\n* 1.12.0: [Download](/Downloads_Saito/pgbouncer-1.12.0-win-x64.zip)\n* 1.9.0: [Download](/Downloads_Saito/pgbouncer-1.9.0-win32.zip)\n* 1.8.1: [Download](/Downloads_Saito/pgbouncer-1.8.1-win32.zip)\n* 1.7.2: [Download](/Downloads_Saito/pgbouncer-1.7.2-win32.zip)\n* 1.7.1: [Download](/Downloads_Saito/pgbouncer-1.7.1-win32.zip)\n* 1.6.1: [Download](/Downloads_Saito/pgbouncer-1.6.1-win32.zip)\n* 1.5.5: [Download](/Downloads_Saito/pgbouncer-1.5.5-win32.zip)\n* 1.5.4: [Download](/Downloads_Saito/pgbouncer-1.5.4-win32.zip)\n* 1.5.3: [Download](/Downloads_Saito/pgbouncer-1.5.3-win32.zip)\n* 1.5.2: [Download](/Downloads_Saito/pgbouncer-1.5.2-win32.zip)\n* 1.5.0: [Download](/Downloads_Saito/pgbouncer-1.5-win32.zip)\n* 1.4.2: [Download](/Downloads_Saito/pgbouncer-1.4.2-win32.zip)\n* 1.4.0: [Download](/Downloads_Saito/pgbouncer-1.4-win32.zip)\n* 1.3.4: [Download](/Downloads_Saito/pgbouncer-1.3.4-win32.zip)\n* 1.3.3: [Download](/Downloads_Saito/pgbouncer-1.3.3-win32.zip)\n\n## How to build your own binary\n1. Create a folder like `C:\\PGBouncerForBuilding`. Don't use special chars or empty spaces or stuff like that.\n2. Download and install [MSYS2](https://www.msys2.org/).\n3. Update the package database and core system packages with: `pacman -Syu`\n4. If needed, close MSYS2, run it again from Start menu. Update the rest with: `pacman -Su`\n5. Install the needed packages:\n\n    ```bash\n    pacman -S msys/libtool\n\tpacman -S msys/libevent\n    pacman -S msys/autoconf\n    pacman -S msys/automake-wrapper\n\tpacman -S msys/pkg-config\n\tpacman -S base-devel gcc cmake\n\tpacman -S msys/libevent-devel\n\t# Not sure if these are really needed:\n\tpacman -S mingw-w64-x86_64-libevent\n    pacman -S mingw-w64-x86_64-pkg-config\n    pacman -S mingw-w64-x86_64-gcc\n    ```\n\t\n6. If you get the error: `configure: error: no acceptable C compiler found in $PATH`, you need to do:\n    * Install build toools using `pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git subversion mercurial mingw-w64-i686-cmake mingw-w64-x86_64-cmake`\n    * Add `C:\\msys64\\mingw64\\bin` and `C:\\msys64\\mingw32\\bin`, in that order, to your PATH variable.\n\t* Note that MSYS2 also puts a lot of other tools in this directory, most notably Python. So put these entries below any other tools you might have installed in your PATH.\n\n7. Install pandoc from [https://pandoc.org/installing.html](https://pandoc.org/installing.html).\n8. Add `C:\\Program Files\\Pandoc` to the `PATH` environment variable.\n9. Go to your root folder, e.g. `C:\\PGBouncerForBuilding`.\n10. Clone the git repository to your folder using:\n\n    ```bash\n    git clone https://github.com/pgbouncer/pgbouncer.git\n    cd pgbouncer\n    git submodule init\n    git submodule update\n    ```\n\n11. Compile for Windows using:\n\n    ```bash\n    ./autogen.sh\n    ./configure ...\n    make\n    make install\n    ```\n\n12. Hint: I have no idea if the installation step for Pandoc is needed or not. If you get errors with Pandoc, don't pull pgbouncer from Git, but download a release from [https://github.com/pgbouncer/pgbouncer/releases](https://github.com/pgbouncer/pgbouncer/releases).\n13. Unzip the release to a folder, e.g. `C:\\PGBouncerForBuilding` and go to this directory.\n14. Run the following commands:\n\n    ```bash\n\tcd pgbouncer-1.12.0 # Adjust this if your release is different.\n    ./autogen.sh\n    ./configure ...\n    make\n    make install\n    ```\n15. Your generated files are located under `C:\\msys64\\usr\\share\\doc\\pgbouncer` and `C:\\msys64\\usr\\bin` (If you installed everything in the default directories).\n16. The files you need are:\n    * pgbevent.dll (I have no idea where to get this one)?\n    * pgbouncer.exe\n\t* pgbouncer.ini or config.ini or similar\n\t* users.txt or userslist.txt or similar\n\n## Further links\n* [https://www.pgbouncer.org/](https://www.pgbouncer.org/)\n* [https://github.com/pgbouncer/pgbouncer](https://github.com/pgbouncer/pgbouncer)\n* [https://www.pgbouncer.org/install.html#building-on-windows](https://www.pgbouncer.org/install.html#building-on-windows)\n* ~~[http://winpg.jp/~saito/pgbouncer/](http://winpg.jp/~saito/pgbouncer/)~~\n* [https://stackoverflow.com/questions/37925410/how-to-install-pgbouncer-on-windows-7-x64](https://stackoverflow.com/questions/37925410/how-to-install-pgbouncer-on-windows-7-x64)\n* [https://www.msys2.org/](https://www.msys2.org/)\n* [https://github.com/pgbouncer/pgbouncer/issues/442](https://github.com/pgbouncer/pgbouncer/issues/442)\n* [https://osdn.net/projects/mingw/ticket/39946](https://osdn.net/projects/mingw/ticket/39946)\n* [https://stackoverflow.com/questions/26453293/what-is-the-best-way-to-install-pkg-config-on-mingw-in-2014](https://stackoverflow.com/questions/26453293/what-is-the-best-way-to-install-pkg-config-on-mingw-in-2014)\n* [https://stackoverflow.com/questions/37725825/aclocal-not-found-for-mingw-sh-autogen-sh-execution](https://stackoverflow.com/questions/37725825/aclocal-not-found-for-mingw-sh-autogen-sh-execution)\n* [https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--\u0026-MSYS2](https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--\u0026-MSYS2)\n* [https://feaforall.com/install-c-language-gcc-compiler-windows/](https://feaforall.com/install-c-language-gcc-compiler-windows/)\n* [https://stackoverflow.com/questions/33398574/cant-compile-pgbouncer-neither-in-linux-nor-in-windows](https://stackoverflow.com/questions/33398574/cant-compile-pgbouncer-neither-in-linux-nor-in-windows)\n* [https://github.com/pgbouncer/pgbouncer/issues/463](https://github.com/pgbouncer/pgbouncer/issues/463)\n* [https://github.com/pgbouncer/pgbouncer/issues/473](https://github.com/pgbouncer/pgbouncer/issues/473)\n* [https://github.com/pgbouncer/pgbouncer/issues/474](https://github.com/pgbouncer/pgbouncer/issues/474)\n* [https://github.com/SeppPenner/PgBouncerWinBinaries/issues/2](https://github.com/SeppPenner/PgBouncerWinBinaries/issues/2)\n\n## Further links (Not so relevant)\n* [https://www.aerospike.com/docs/client/libevent/build/windows.html](https://www.aerospike.com/docs/client/libevent/build/windows.html)\n* [https://github.com/libevent/libevent/releases/](https://github.com/libevent/libevent/releases/)\n* [https://www.quora.com/What-are-some-ways-of-installing-libevent](https://www.quora.com/What-are-some-ways-of-installing-libevent)\n* [https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows](https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows)\n\nChange history\n--------------\n\nSee the [Changelog](https://github.com/SeppPenner/PgBouncerWinBinaries/blob/master/Changelog.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fpgbouncerwinbinaries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepppenner%2Fpgbouncerwinbinaries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fpgbouncerwinbinaries/lists"}