Re: Fw: [GENERAL] Postgres install problem

From: Peter Ai <aibin(at)clear(dot)net(dot)nz>
To: peter_e(at)gmx(dot)net, pgsql-general(at)hub(dot)org
Subject: Re: Fw: [GENERAL] Postgres install problem
Date: 1999-12-20 23:26:51
Message-ID: 385EBB3B.FB04EC90@clear.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Ai wrote:

> ----- Original Message -----
> From: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
> To: "Peter Ai" <aibin(at)clear(dot)net(dot)nz>
> Cc: <pgsql-general(at)hub(dot)org>
> Sent: Sunday, December 19, 1999 5:13 AM
> Subject: Re: [GENERAL] Postgres install problem
>

Thanks for that , But I only have /usr/lib/libshadow.so.0.0.0 and
/lib/libc-2.1.so
I tried adding -lcrypt or -lshadow without success.
Do i need glibc2.1 ?

>
> > On 1999-12-18, Peter Ai mentioned:
> >
> > > gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
> > > commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
> > > main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o
> > > port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
> > > storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
> > > ../utils/version.o -lnsl -ldl -lm -export-dynamic
> > > libpq/SUBSYS.o: In function `crypt_verify':
> > > libpq/SUBSYS.o(.text+0x3ca2): undefined reference to `crypt'
> > > libpq/SUBSYS.o: In function `verify_password':
> > > libpq/SUBSYS.o(.text+0x3fba): undefined reference to `crypt'
> > > make[1]: *** [postgres] Error 1
> > > make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'
> > > make: *** [all] Error 2
> >
> > I'm not familiar with Caldera, but there is a slight chance that adding
> > one of -lcrypt or -lshadow to LDFLAGS in Makefile.global (after configure)
> > might help. If that doesn't work, look if your libcrypt.a or libshadow.a
> > library really exists and is findable or let us know what kind of C
> > library you have (ls /lib/libc.*). If that helps then we'd need to fix up
> > configure a little.
> >
> >
> > --
> > Peter Eisentraut Sernanders väg 10:115
> > peter_e(at)gmx(dot)net 75262 Uppsala
> > http://yi.org/peter-e/ Sweden
> >
> >
> >

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Mercer 1999-12-21 05:25:14 potential bug! hardcoded location of data files
Previous Message Bart Ogryczak 1999-12-20 22:29:08 compiling PostgreSQL on SCO UW7?