[postgis-users] Cygwin installation
BLISS Meredith * DAS CJC
Meredith.Bliss at state.or.us
Tue Dec 16 16:02:07 PST 2003
Next problem(s): I tried to compile PostGIS, but make fails with the following:
fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to `__nm__cpu_index_tuple_cost'
Info: resolving _cpu_index_tuple_cost by linking to __imp__cpu_index_tuple_cost
(auto-import)
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpostgis.a] Error 1
after a couple of cycles of make clean / make, I tried the DCMMS PostGIS installer, which seemed to complete without a problem, but then when I try to do "psql -U postgres -d myGISdb -f postgis.sql" I get
BEGIN
message
------------------------
PL/PgSQL is installed.
(1 row)
psql:postgis.sql:41: NOTICE: ProcedureCreate: type histogram2d is not yet defined
psql:postgis.sql:41: ERROR: Load of file /usr/lib/postgresql/postgis.dll failed: dlopen: Win32 error 127
psql:postgis.sql:46: ERROR: current transaction is aborted, queries ignored until end of transaction block
psql:postgis.sql:54: ERROR: current transaction is aborted, queries ignored until end of transaction block ... [many more similar lines deleted]
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of BLISS
Meredith * DAS CJC
Sent: Tuesday, December 16, 2003 8:53 AM
To: PostGIS Users Discussion
Subject: RE: [postgis-users] Cygwin installation
Thank you, chmod did the trick! Now it's on to PostGIS installation. I finally get somewhat comfortable using Linux, now I have to figure out mixed permissions in Windows+Cygwin. There seems to be no end of interesting challenges ...
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of
Steffen Macke
Sent: Tuesday, December 16, 2003 4:47 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Cygwin installation
Meredith,
eventually your postgres user does not have the right to run postgres.exe
Could you try to fix the access rights with
chmod a+rx /usr/bin/postgres.exe
as the administrator of the machine
and try again to run postgres.exe as the user postgres?
If it still doesn't work, have a look at the postmaster log file
c:\cygwin\var\log\postmaster.log
This file might contain an error message that helps you to track down
the problem.
Steffen
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list