Re: Cygwin problem, compiling from source

Lists: pgsql-cygwin
From: Brian Osborne <brian_osborne(at)cognia(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Cygwin problem, compiling from source
Date: 2005-04-07 01:44:10
Message-ID: GPENLDEIJJHJLHOAJBBPEEDMCEAA.brian_osborne@cognia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

To whom it may concern,

I ran the configure and make and make install commands, everything seemed to
be fine. I can see that the DLL's have been installed:

153 ~/src/postgresql-8.0.1>find /usr/local/pgsql/ -name '*dll'
/usr/local/pgsql/lib/ascii_and_mic.dll
/usr/local/pgsql/lib/cygpq.dll
/usr/local/pgsql/lib/cyrillic_and_mic.dll
/usr/local/pgsql/lib/ecpg.dll
/usr/local/pgsql/lib/ecpg_compat.dll
/usr/local/pgsql/lib/euc_cn_and_mic.dll
/usr/local/pgsql/lib/euc_jp_and_sjis.dll
/usr/local/pgsql/lib/euc_kr_and_mic.dll
/usr/local/pgsql/lib/euc_tw_and_big5.dll
/usr/local/pgsql/lib/latin2_and_win1250.dll
/usr/local/pgsql/lib/latin_and_mic.dll
/usr/local/pgsql/lib/pgtypes.dll
/usr/local/pgsql/lib/plpgsql.dll
/usr/local/pgsql/lib/utf8_and_ascii.dll
/usr/local/pgsql/lib/utf8_and_big5.dll
/usr/local/pgsql/lib/utf8_and_cyrillic.dll
/usr/local/pgsql/lib/utf8_and_euc_cn.dll
/usr/local/pgsql/lib/utf8_and_euc_jp.dll
/usr/local/pgsql/lib/utf8_and_euc_kr.dll
/usr/local/pgsql/lib/utf8_and_euc_tw.dll
/usr/local/pgsql/lib/utf8_and_gb18030.dll
/usr/local/pgsql/lib/utf8_and_gbk.dll
/usr/local/pgsql/lib/utf8_and_iso8859.dll
/usr/local/pgsql/lib/utf8_and_iso8859_1.dll
/usr/local/pgsql/lib/utf8_and_johab.dll
/usr/local/pgsql/lib/utf8_and_sjis.dll
/usr/local/pgsql/lib/utf8_and_tcvn.dll
/usr/local/pgsql/lib/utf8_and_uhc.dll
/usr/local/pgsql/lib/utf8_and_win1250.dll
/usr/local/pgsql/lib/utf8_and_win1256.dll
/usr/local/pgsql/lib/utf8_and_win874.dll

However, when I run:

>initdb -D /usr/local/pgsql/data -W -E LATIN1

I see a dialog box saying:

This application could not start because cygpq.dll was not found

Do you have any ideas?

postgresql-8.0.1
CYGWIN_NT-5.1 Cognia-brian 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown
unknown Cygwin
Windows XP

Thank you,

Brian O.


From: Reini Urban <rurban(at)x-ray(dot)at>
To: Brian Osborne <brian_osborne(at)cognia(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cygwin problem, compiling from source
Date: 2005-04-11 06:00:19
Message-ID: 425A1273.30208@x-ray.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Brian Osborne schrieb:
> To whom it may concern,
>
> I ran the configure and make and make install commands, everything seemed to
> be fine. I can see that the DLL's have been installed:
...
>>initdb -D /usr/local/pgsql/data -W -E LATIN1
>
>
> I see a dialog box saying:
>
> This application could not start because cygpq.dll was not found

Ensure you have /usr/bin/cygpg.dll
It must be in the path, not in /usr/local/pgsql/lib/ because it's
resolved by the Win32 process loader, not by cygwin.

> Do you have any ideas?
>
> postgresql-8.0.1
> CYGWIN_NT-5.1 Cognia-brian 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown
> unknown Cygwin
> Windows XP
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban
http://phpwiki.org


From: "Brian Osborne" <brian_osborne(at)cognia(dot)com>
To: "Reini Urban" <rurban(at)x-ray(dot)at>
Cc: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Cygwin problem, compiling from source
Date: 2005-04-11 11:43:13
Message-ID: GPENLDEIJJHJLHOAJBBPOEHCCEAA.brian_osborne@cognia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Reini,

Yes, that's it, it must be in PATH.

Thanks again,

BIO

-----Original Message-----
From: Reini Urban [mailto:rurban(at)x-ray(dot)at]
Sent: Monday, April 11, 2005 2:00 AM
To: Brian Osborne
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] Cygwin problem, compiling from source

Brian Osborne schrieb:
> To whom it may concern,
>
> I ran the configure and make and make install commands, everything seemed
to
> be fine. I can see that the DLL's have been installed:
...
>>initdb -D /usr/local/pgsql/data -W -E LATIN1
>
>
> I see a dialog box saying:
>
> This application could not start because cygpq.dll was not found

Ensure you have /usr/bin/cygpg.dll
It must be in the path, not in /usr/local/pgsql/lib/ because it's
resolved by the Win32 process loader, not by cygwin.

> Do you have any ideas?
>
> postgresql-8.0.1
> CYGWIN_NT-5.1 Cognia-brian 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown
> unknown Cygwin
> Windows XP
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban
http://phpwiki.org


From: Jason Tishler <jason(at)tishler(dot)net>
To: Brian Osborne <brian_osborne(at)cognia(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cygwin problem, compiling from source
Date: 2005-04-11 12:35:54
Message-ID: 20050411123554.GB6004@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Brian,

On Wed, Apr 06, 2005 at 09:44:10PM -0400, Brian Osborne wrote:
> To whom it may concern,
>
> I ran the configure and make and make install commands, everything seemed to
> be fine. I can see that the DLL's have been installed:
>
> 153 ~/src/postgresql-8.0.1>find /usr/local/pgsql/ -name '*dll'
> /usr/local/pgsql/lib/ascii_and_mic.dll
> /usr/local/pgsql/lib/cygpq.dll
> [snip]
>
> However, when I run:
>
> >initdb -D /usr/local/pgsql/data -W -E LATIN1
>
> I see a dialog box saying:
>
> This application could not start because cygpq.dll was not found
>
> Do you have any ideas?

The simplest solution is to add /usr/local/pgsql/lib to your PATH.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6


From: "Brian Osborne" <brian_osborne(at)cognia(dot)com>
To: "Jason Tishler" <jason(at)tishler(dot)net>
Cc: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Cygwin problem, compiling from source
Date: 2005-04-11 13:33:39
Message-ID: GPENLDEIJJHJLHOAJBBPOEHFCEAA.brian_osborne@cognia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Jason,

Yes, that did it.

Thanks again,

Brian O.

-----Original Message-----
From: Jason Tishler [mailto:jason(at)tishler(dot)net]
Sent: Monday, April 11, 2005 8:36 AM
To: Brian Osborne
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] Cygwin problem, compiling from source

Brian,

On Wed, Apr 06, 2005 at 09:44:10PM -0400, Brian Osborne wrote:
> To whom it may concern,
>
> I ran the configure and make and make install commands, everything seemed
to
> be fine. I can see that the DLL's have been installed:
>
> 153 ~/src/postgresql-8.0.1>find /usr/local/pgsql/ -name '*dll'
> /usr/local/pgsql/lib/ascii_and_mic.dll
> /usr/local/pgsql/lib/cygpq.dll
> [snip]
>
> However, when I run:
>
> >initdb -D /usr/local/pgsql/data -W -E LATIN1
>
> I see a dialog box saying:
>
> This application could not start because cygpq.dll was not found
>
> Do you have any ideas?

The simplest solution is to add /usr/local/pgsql/lib to your PATH.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6