Problems compiling test program program form pgsql

Поиск
Список
Период
Сортировка
От Miguel Fernandez
Тема Problems compiling test program program form pgsql
Дата
Msg-id 000001bfcda9$b6899420$6e7ef4c8@miguelga
обсуждение исходный текст
Ответы Re: Problems compiling test program program form pgsql  ("D. Duccini" <duccini@backpack.com>)
Re: Problems compiling test program program form pgsql  (Hugh Lawson <hlawson@triad.rr.com>)
Список pgsql-novice
    Hi , I've got a problem compiling the test program in the programmers guide.
    t frist how I do to link libpg.a in gcc and g++ ?
    
    Later I've got the screen :
 
    $bash: g++ test.C -o test.o -o test /usr/lib/libpg.a     // my libpg.a is in /usr/lib
     /usr/lib/libpq.a (fe-auth.o) : in function 'pg_password_sendauth' :
     fe_auth.o(.text+0x27):undefined reference to 'crypt'
     collect2 : ld reurned 1 exit status
    $bash :
 
Note : my computer runs a linux red hat Conectiva 3.0 installed with postgres 6.5.2.
 
If someone can help-me I will be very gateful .

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

Предыдущее
От: ghaverla@freenet.edmonton.ab.ca
Дата:
Сообщение: Re: Re: Out of disk space
Следующее
От: "D. Duccini"
Дата:
Сообщение: Re: Problems compiling test program program form pgsql