Re: undefined reference to 'crypt'

Поиск
Список
Период
Сортировка
От sieberg@cadvision.com (Ross Sieber)
Тема Re: undefined reference to 'crypt'
Дата
Msg-id 37d11411.1191407@news.cadvision.com
обсуждение исходный текст
Ответ на undefined reference to 'crypt'  ("alan yang" <alan_yang@hp.com>)
Список pgsql-ports
On 30 Aug 1999 19:37:55 -0400, alan_yang@hp.com ("alan yang") wrote:


>After successfully installed postgresql, I tried to compile the libpq++ test
>program.
>In a RedHat 6.0 system, I ran into the following error:
>/usr/lib/libpq.so.2.0 undefined reference to 'crypt'.

You probably need to add -lcrypt to the LIBS line in the Makefile.
crypt is sometimes in libs, and sometimes not.

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

Предыдущее
От: Yu Cao
Дата:
Сообщение: PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5