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

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: compile errors for embedded sql (in c)
Date: 1999-06-01 23:40:42
Message-ID: 199906012340.TAA62115@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Nathan
Your email address : nathan(at)khmere(dot)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:
---------

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

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-06-02 00:28:28 Port Bug Report: Insertion of line return character inconsistent.
Previous Message The Hermit Hacker 1999-06-01 18:09:15 Re: [GENERAL] RE: [PORTS] AIX-4.2.1 binaries ? more info. PLEASE !