Re: [GENERAL] Debian 2.0 + libpgsql-6.3.8 + can't compile my program

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Nathan L(dot) Cutler" <livingston(at)iol(dot)cz>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Debian 2.0 + libpgsql-6.3.8 + can't compile my program
Date: 1999-02-21 08:05:02
Message-ID: 199902210805.IAA08169@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nathan L. Cutler" wrote:
>Hello all:
>
>After upgrading from Debian 1.3 (PostgreSQL 6.2.1) to Debian 2.0 (PostgreSQL
>6.3.8) I suddenly began having compilation problems. Compilation fails in t
>he
>link phase with the following error message:
>
> /usr/lib/libpq.so: undefined reference to `crypt'
>
>When I downgrade to 6.2.1 it compiles just fine.
>
>Does anyone know the solution to (or a workaround for) this problem?

The crypt functions are separated out into a different library.

Add -lcrypt to your link options.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"My sheep hear my voice, and I know them, and they
follow me; And I give unto them eternal life; and they
shall never perish, neither shall any man pluck them
out of my hand." John 10:27,28

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 1999-02-21 08:07:12 Re: [GENERAL] trouble with pgaccess
Previous Message Michael Shields 1999-02-21 04:47:30 Re: [GENERAL] GIS/GPS Experiences with pgsql?