[postgis-users] Newbie: Windows Install Help
Hankley, Chip
Chip.Hankley at GASAI.Com
Mon Jun 24 11:23:09 PDT 2002
Norman...
I've retried this using several download options w/ cygwin setup. I first
just downloaded the binary, then the source. Either way, I'm still getting
the same error:
pg_passwd.o(.text+0x763):pg_passwd.c: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[3]: *** [pg_passwd] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
... I logged the make session, and this appears to be the offending line:
make[3]: Entering directory
`/usr/src/postgresql-7.2.1-2/src/bin/pg_passwd'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/local/lib
-g pg_passwd.o -lz -lreadline
-lcygipc -o pg_passwd
If I look in the configure log file, I also see the following two lines:
checking for library containing crypt... (cached) no
...and
checking for crypt.h... (cached) no
------------------------------------------
So...I'm totally confused... do I have to re-configure cygipc to make it
recognize the new library? Do I need to run "make" on crypt before I run the
postgreSQL configure? The name of the source directory for crypt is
crypt-1.0, not just crypt... could this be the problem?
TIA
Chip
-----Original Message-----
From: Norman Vine [mailto:nhv at cape.com]
Sent: Friday, June 21, 2002 4:10 PM
To: postgis-users at postgis.refractions.net
Cc: jason at tishler.net
Subject: RE: [postgis-users] Newbie: Windows Install Help
rerun the cygwin setup program and make sure you have 'crypt'
package selected for download under the 'Libs' category and
try building again
Norman
>-----Original Message-----
>From: postgis-users-admin at postgis.refractions.net
>[mailto:postgis-users-admin at postgis.refractions.net]On Behalf Of
>Hankley, Chip
>Sent: Friday, June 21, 2002 4:46 PM
>To: 'Tyler Mitchell'; postgis-users at postgis.refractions.net
>Subject: RE: [postgis-users] Newbie: Windows Install Help
>
>
>Thanks Tyler... that got me a LITTLE farther! Still problems though.
>
>I followed Norman Vine's instructions from last year - see
>
>http://postgis.refractions.net/pipermail/postgis-users/2001-Jun
>e/000025.html
>
>The last few lines of the output after I make (this is the make for
>PostgreSQL) show errors:
>
>...
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cy
>gwin/bin/ld:
>cannot find -lcrypt
>collect2: ld returned 1 exit status
>dllwrap: gcc exited with status 1
>make[1]: *** [array_iterator.dll] Error 1
>rm array_iterator.o
>make[1]: Leaving directory `/usr/src/postgresql-7.2.1-2/contrib/array'
>make: *** [all] Error 2
>
>The only error that I see is the "cannot find -lcrypt. Sure
>enuf, there's
>not a file or directory by that name in the
>i686-pc-cygwin/bin/ - is that
>what this means? Where can I get it? Are the instructions
>Norman provided
>still valid?
>
>TIA!
>
>Chip Hankley
>
>_______________________________________________
>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