I am actually in the same folder as the libpgtcl.dll, and that particular failure would raise a different error in any case: 'couldn't load library "libpgtc": this library or a dependent library could not be found in library path' -----Original Message----- From: Adrian Klaver [mailto:adrian.klaver@xxxxxxxxx] Sent: February 9, 2013 1:01 PM To: Carlo Stonebanks Cc: 'Postgres General' Subject: Re: Tcl & PG on Win 7 64 bit - is it working for anyone? On 02/09/2013 09:52 AM, Carlo Stonebanks wrote: > I have been trying to get the Tcl package for client applications > PgTcl to work for some time now. I have tried the SourceForge pgtclng > 2.0 project, I have recompiled it with MinGW-64, I have installed PG > 9.1.8 > 64 bit and made sure PATH points to its lib folder so it can find > libpq.dll. NO matter what I try, the Tcl command 'load libpgtcl' > returns: 'couldn't load library "libpgtcl": invalid argument' It would seem you need to point the PATH at libpgtcl(.dll) also. > > The "Pure Tcl interface" pgintcl package works on Win 7 64, but is > very slow to load so I imagine slow to run as well. > > If anyone is running Tcl client apps to access PostgreSQL on Win 7 64 > using I would love to hear about it. > > Thanks, > > Carlo > -- Adrian Klaver adrian.klaver@xxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general