problems with pgaccess and libpgtcl.dll

Поиск
Список
Период
Сортировка
Искать
От
Konrad Hernblad
Тема
problems with pgaccess and libpgtcl.dll
Дата
Msg-id
4.3.2-J.20010924154134.025ac990@mail.rdc1.pa.home.com
Список
Дерево обсуждения
Re: problems with pgaccess and libpgtcl.dll s0lao@netscape.net (S. L.)
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 

В списке pgsql-cygwin по дате отправления
От: Russell Black
Дата:
Сообщение: Re: Cannot rename init file
От: Dave Page
Дата:
Сообщение: PostgreSQL 7.2 Initdb
FAQ