CYgwin: cannot find cygpq-5.dll

zosrothko's Avatar

zosrothko

13 May, 2018 09:09 AM

Hi
I am running a build under Cygwin installing the libpq-dev package libpq-dev, but the binary cannot find this cygpq-5.dll while "C:\cygwin\bin" is well added to PATH. So have you an idea where/what could be the problem?

:/projects/poco/SQL/PostgreSQL/testsuite/bin/Cygwin/i686/testrunner.exe: error while loading shared libraries: cygpq-5.dll: cannot open shared object file: No such file or directory failed=SQL/PostgreSQL

Here the job: https://ci.appveyor.com/project/zosrothko/poco/build/build%20develo...

  1. Support Staff 1 Posted by Owen McDonnell on 14 May, 2018 10:14 PM

    Owen McDonnell's Avatar

    My guess is that its not there because you're not installing it. Seems that you're installing header files with libpq-devel but not the '.dll'. Maybe what you need to install is this package?

  2. 2 Posted by zosrothko on 15 May, 2018 04:59 AM

    zosrothko's Avatar

    Yes you are correct... This cygpq-5.dll is installed by the libpq5 package. Usually, on Llinux system, installing the libXXX-devel package installs also the binaries related to.

    Thanks for your help.

  3. Owen McDonnell closed this discussion on 15 May, 2018 06:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac