From: | "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com> |
---|---|
To: | Matthew <matt(at)ctlno(dot)com>, pgsql-general(at)postgreSQL(dot)org |
Subject: | RE: [GENERAL] crypt compile error |
Date: | 1998-06-12 16:28:49 |
Message-ID: | F10BB1FAF801D111829B0060971D839F2D5401@cpsmail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Did you link in crypt? Try adding -lcrypt to the compile line.
-DEJ
> -----Original Message-----
> From: Matthew [SMTP:matt(at)ctlno(dot)com]
> Sent: Friday, June 12, 1998 10:50 AM
> To: pgsql-general(at)postgreSQL(dot)org
> Subject: [GENERAL] crypt compile error
>
> Hello, I am new to the world of PostgreSQL. I recently installed the
> PostgreSQL database and tried to compile one of the example C programs
> from the web site. I fixed a few typo's then it compiled, but when it
> goes to do the linking I get an error complaining about undefined
> reference to crypt. I have included the exact error message and gcc
> version below. Please help, do you have any suggestions? I recently
> installed PostgreSQL v 6.3.2. If I can't a C program to compile, it's
> going to make using PostgreSQL very hard for this project.
>
> Thanks in advance,
>
> Matt O'Connor
>
>
> ./postgresql-6.3.2/src/interfaces/libpq/libpq.a(fe-auth.o): In
> function
> `pg_password_sendauth':
> fe-auth.o(.text+0x17): undefined reference to `crypt'
>
> /pub$gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
> gcc version 2.7.2.3
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Natali Kolker | 1998-06-12 16:52:25 | Question about jdbc |
Previous Message | Matthew | 1998-06-12 15:49:37 | crypt compile error |