Port Bug Report: compile errors for embedded sql (in c)

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: compile errors for embedded sql (in c)
Дата
Msg-id 199906012340.TAA62115@hub.org
обсуждение исходный текст
Ответы Re: [PORTS] Port Bug Report: compile errors for embedded sql (in c)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Nathan
Your email address      : nathan@khmere.com

Category                : unknown
Severity                : non-critical

Summary: compile errors for embedded sql (in c)

System Configuration
--------------------
  Operating System   : Linux 2.2.5-15smp i586 (redHat 6.0)

  PostgreSQL version : 6.4.2-3

  Compiler used      : gcc 2.7

Hardware:
---------
Linux ns4.khmere.com 2.2.5-15smp #1 SMP Mon Apr 19 22:03:51 EDT 1999 i586 unknown


Versions of other tools:
------------------------
make and just straight gcc

--------------------------------------------------------------------------

Problem Description:
--------------------
I get this error when I complie ?
(I am  not a new 'c' programmer but I am new to embedded sql)
/usr/lib/libecpg.so: undefined reference to `crypt'
collect2: ld returned 1 exit status

--------------------------------------------------------------------------

Test Case:
----------
This is what I use to compile
 gcc -g -o 2easql 2easql.c -I /usr/include/pgsql/
-L /usr/include/pgsql/lib -lecpg -lpq


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [GENERAL] RE: [PORTS] AIX-4.2.1 binaries ? more info. PLEASE !
Следующее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: Insertion of line return character inconsistent.