Cygwin PostgreSQL DLL PATH (regression test) Problem

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Cygwin PostgreSQL DLL PATH (regression test) Problem
Date: 2001-01-02 17:37:32
Message-ID: 20010102123732.F649@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

While running the regression tests, I have been bitten twice (once with
7.0.2 and once with a pre-7.1 Beta 2 snapshot) since pq.dll is *not*
in my PATH. The attached patch corrects this problem and obviates the
need for users to add "/usr/local/pgsql/lib" to their PATH.

I'm not sure if my patch is the best way to solve this problem. Note
that I'm "lucky" that plpgsql.dll doesn't end up in "/usr/local/pgsql/bin"
too. Also note that I don't like duplicating the .dll files and would
prefer to use symlinks. But, if I do that, then the real files must be in
bin and not lib due to Windows (i.e., not Cygwin) needing to load them as
DLLs.

Any feedback would be greatly appreciated.

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Attachment Content-Type Size
Makefile.shlib.patch text/plain 904 bytes

Browse pgsql-ports by date

  From Date Subject
Next Message Scott Evans 2001-01-02 20:53:42 runaway processes on Win2000
Previous Message Peter Eisentraut 2001-01-02 17:00:26 Re: Re: Cygwin PostgreSQL postmaster abort problem