Thread: pgaccess

pgaccess

From
Robert Hiltibidal
Date:
Morning,

We are trying to get pgaccess to run on win32 machines. We have one nt 4.0
sp3 machine and one win95B sp2 machine. Both machines have tcl 8.2
installed. The tcl and tk demos that came with the binary package work
flawlessly on both machines.

When we try to run pgaccess from the nt machine we get the following error:

"Couldn't load file "libpgtcl.dll": invalid argument

while executing 
"load libpgtcl.dll"
(procedure "main" line 4)
invoked from within
"main $argc $argv

(file "W:\postgres\pgaccess.tcl" line 5044)

The 95 macine produces the same error with its file location.

The .dll files are in the system 32 directory of WINNT and they are in the
Windows directory of 95. The files are duplicated in the same directory as
pgaccess.tcl. I really don't think this is a path problem but I am at a
loss to what else the problem could be.

Any help would be greatly appreciated.

Thanks,

-Rob



Re: [INTERFACES] pgaccess

From
Rusty Brooks
Date:
Well, this seems unlikely from the error message, but try specifying the
path explicitly.  Use the windows find to find libpgtcl.dll and use
something like

load c:\path\to\lib\dir\libpgtcl.dll

I would imagine that it is in c:\windows\system or something, although I'm
not sure.  Alternatively I think you can set the library directory in wish
with something like
set tk_library "c:\path\to\lib\dir"


On Tue, 24 Aug 1999, Robert Hiltibidal wrote:

> When we try to run pgaccess from the nt machine we get the following error:
> "Couldn't load file "libpgtcl.dll": invalid argument



Re: [INTERFACES] pgaccess

From
Constantin Teodorescu
Date:
Robert Hiltibidal wrote:
> 
> We are trying to get pgaccess to run on win32 machines. We have one nt 4.0
> sp3 machine and one win95B sp2 machine. Both machines have tcl 8.2
> installed. The tcl and tk demos that came with the binary package work
> flawlessly on both machines.
> 
> When we try to run pgaccess from the nt machine we get the following error:
> 
> "Couldn't load file "libpgtcl.dll": invalid argument

After solving that problem (a PATH to libpgtcl.dll problem I think) take
into account that in win32 you should get the suitable DLL's for the
Tcl/Tk version and PostgreSQL backend version.

As I know, there are new DLL's only for Tcl/Tk 8.0.x/PostgreSQL 6.5.1
and Tcl/Tk 8.1.x/PostgreSQL 6.5.1

For the 8.2 , not yet. Even in Linux, I didn't succeed to start PgAccess
with Tcl/Tk 8.2 :-(

-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA