Re: C program compilation

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: C program compilation
Дата
Msg-id 39FA2DEA.EB6F7DAA@alumni.caltech.edu
обсуждение исходный текст
Ответ на C program compilation  ("Gustavo R. Bonet" <gbonet@bna.com.ar>)
Список pgsql-interfaces
> Like the documentation says, I'm using the following sentence to compile:
> gcc -o output_name -I /usr/include/pgsql -lpq myprogram.c
> /usr/lib/libpq.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status

Try adding "-lcrypt" to the line.
                   - Thomas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: new maintainer for the ODBC driver?
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: new maintainer for the ODBC driver?