Re: Fw: [GENERAL] Postgres install problem
От | Charles Tassell |
---|---|
Тема | Re: Fw: [GENERAL] Postgres install problem |
Дата | |
Msg-id | 4.2.0.58.19991221013818.00a516e0@mailer.isn.net обсуждение исходный текст |
Ответ на | Re: Fw: [GENERAL] Postgres install problem (Peter Ai <aibin@clear.net.nz>) |
Список | 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@gmx.net> > > To: "Peter Ai" <aibin@clear.net.nz> > > Cc: <pgsql-general@hub.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@gmx.net 75262 Uppsala > > > http://yi.org/peter-e/ Sweden > > > > > > > > > > > >************
В списке pgsql-general по дате отправления: