Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!

Поиск
Список
Период
Сортировка
От Eric Lee Green
Тема Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Дата
Msg-id Pine.LNX.4.04.9812061537550.7749-100000@england.local.net
обсуждение исходный текст
Ответ на crypt not included when compiling libpgtcl !!!!!!!  (Constantin Teodorescu <teo@flex.ro>)
Ответы Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
On Thu, 5 Nov 1998, Constantin Teodorescu wrote:
> RedHat 5.1 i386 with PostgreSQL v6.4 final version
>
> ./configure --with-tcl
>
> after installing libpgtcl , cannot run pgaccess because library crypt
> hasn't been linked into libpgtcl.so
>
> must manually add -lcrypt in Makefile into src/interfaces/libpgtcl

Hi Constantin. This is a problem only with systems running glibc, because
for legal reasons the FSF doesn't want to include encryption as part of
glibc. I assume you are doing this on Debian or on Red Hat 5.x?

Perhaps we  need an extra template for glibc?

I came across this problem too today (I am currently packaging 6.4 into an
RPM for Red Hat 5.2). I have generated a patch file which fixes the lack
of -lcrypt in a number of places for glibc systems. After I have
thoroughly tested it I'll try to post it here.

> Also, PgAccess version that has been included in 6.4 final version is
> 0.90 , but current stable version is 0.91
> (ftp://ftp.flex.ro/pub/pgaccess/pgaccess-0.91.tar.gz)

Thanks for the pointer. I will incorporate that as another patch in
the .spec file for my Red Hat RPM.

--
Eric Lee Green         eric@linux-hw.com     http://www.linux-hw.com/~eric
 "Linux represents a best-of-breed UNIX, that is trusted in mission
  critical applications..."   --  internal Microsoft memo


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: [INTERFACES] Using Postgres's NOTIFY/LISTEN
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!