Re: Fw: [GENERAL] Postgres install problem

From: Charles Tassell <ctassell(at)isn(dot)net>
To: Peter Ai <aibin(at)clear(dot)net(dot)nz>, peter_e(at)gmx(dot)net, pgsql-general(at)hub(dot)org
Subject: Re: Fw: [GENERAL] Postgres install problem
Date: 1999-12-21 05:44:20
Message-ID: 4.2.0.58.19991221013818.00a516e0@mailer.isn.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, you need the libc 2.1 crypt addon (it's a separate library due to the
US crypto export laws.) You should be able to get it from Caldera's web
site, it's called libcrypt-2.#.#.so

At 07:26 PM 12/20/99, Peter Ai wrote:
>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
> > >
> > >
> > >
>
>
>************

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Henderson 1999-12-21 06:46:04 shared memory
Previous Message Jim Mercer 1999-12-21 05:25:14 potential bug! hardcoded location of data files