Problem with compiling programs

Поиск
Список
Период
Сортировка
От Wayne Liang
Тема Problem with compiling programs
Дата
Msg-id 383597A8.318C2DCA@worldy.com
обсуждение исходный текст
Список pgsql-interfaces
I am trying to compiling a program with pq database access.

Like the following:
>---------------------------------------------<
gcc pulling.cpp -lpq -lcrypt
/usr/bin/ld: cannot open -lpq: No such file or directory
collect2: ld returned 1 exit status
>---------------------------------------------<

This program was working before, I am just re-compiling, but it doesn't
work this time, I have 

>----------<
PGLIB="/usr/local/pgsql/lib" in env var

/usr/local/pgsql/lib
/usr/local/pgsql/include    in /etc/ld.so.conf

>----------<

What else am I missing?

Jason Lam


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

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200
Следующее
От: "Sergio A. Kessler"
Дата:
Сообщение: Re: [INTERFACES] pg_pwd