problems with pgaccess and libpgtcl.dll

From: Konrad Hernblad <konrad(at)pobox(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: problems with pgaccess and libpgtcl.dll
Date: 2001-09-24 07:03:02
Message-ID: 4.3.2-J.20010924154134.025ac990@mail.rdc1.pa.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

problem
------
when i run /cygwin/bin/cygwish80.exe /cygwin/pgaccess/main.tcl, i get the
following error:

"couldn't load file 'libpgtcl.dll': invalid argument while executing 'load
libpgtcl[info sharedlibextension]'
(procedure 'main') line 3) invoked from within 'main $argc $argv' (file
'main.tcl' line 249)"

environment
----------
cygwin: 1.33
postgres 7.1.3
os: windows2000 professional
pgaccess: 0.98.7
tcl/tk 8.3.3

directory structure
----------------
cygwin -> c:\cygwin
pgaccess -> c:\cygwin\pgaccess
tcl/tk -> c:\cygwin\tcl

steps taken
---------
i d/led pgaccess from http://ns.flex.ro/pgaccess/, as explained on
http://ns.flex.ro/pgaccess/win32.html.

i also d/led tcl/tk8.3.3 from http://ns.flex.ro/pgaccess/win32.html.

i put uncompressed the d/ls as below:
pgaccess -> /cygwin/pgaccess
tcl/tk -> /cygwin/tcl

i renamed the pgaccess win32 .dlls (located in /pgaccess/win32/dll/) as follows:
libpgtcl83.dll-7.0 -> libpgtcl83.dll
libpq.dll-7.0 -> libpq.dll
and moved the renamed files to c:\winnt\system32.

i then added "tcl/bin" and "/pgaccess" to my PATH env.

the /pgaccess/pgaccess file didn't seem to be working correctly (after
having changed PATH_TO_WISH env to cygwin's /bin dir and PGACCESS_HOME env
to /pgaccess, it said that it couldn't find main.tcl).

when i tried running the below command at the cygwin prompt, i got the
"couldn't load file..."error message listed above.
/cygwin/cygwin80.exe /pgaccess/main.tcl

any advice would be greatly appreciated. thanks.

--------------
TERRORIST ATTACK ON AMERICA (tues, sept 11, 2001)

Information and Disaster Relief Resources
http://www.konrad.ws/terroristAttackOnAmerica_infoAndDisasterReliefResources.htm

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-09-24 15:02:01 Re: Building natively on win32 with mingw32/Cygwin
Previous Message Gerhard Häring 2001-09-24 04:49:52 Building natively on win32 with mingw32/Cygwin