pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRedhat 6.0 Link Error: Undefined Reference to crypt
3+ messages / 3 participants
[nested] [flat]
* Redhat 6.0 Link Error: Undefined Reference to crypt
@ 1999-11-02 15:34 Klein, Robert <rvklein@ober.com>
1999-11-02 19:09 ` Re: [SQL] Redhat 6.0 Link Error: Undefined Reference to crypt Tom Lane <tgl@sss.pgh.pa.us>
1999-11-05 03:59 ` Re: [SQL] Redhat 6.0 Link Error: Undefined Reference to crypt De Moudt Walter <wdemoudt@planetinternet.be>
0 siblings, 2 replies; 3+ messages in thread
From: Klein, Robert @ 1999-11-02 15:34 UTC (permalink / raw)
To: pgsql-sql
I'm trying to compile a program on Redhat 6.0 with the Postgres 6.4 the came
with it.
I get the following link error:
/usr/lib/libpq.so: Undefined reference to "crypt"
Does postgres need a difference libc or glibc? Redhat comes with:
libc 5.3.13
glibc 2.1.1
Thanks!
Rob Klein
System Administrator
Ober, Kaler, Grimes and Shriver
120 East Baltimore St
Baltimore, MD 21202
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] Redhat 6.0 Link Error: Undefined Reference to crypt
1999-11-02 15:34 Redhat 6.0 Link Error: Undefined Reference to crypt Klein, Robert <rvklein@ober.com>
@ 1999-11-02 19:09 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 1999-11-02 19:09 UTC (permalink / raw)
To: Klein, Robert <rvklein@ober.com>; +Cc: pgsql-sql
"Klein, Robert" <rvklein@ober.com> writes:
> I'm trying to compile a program on Redhat 6.0 with the Postgres 6.4 the came
> with it.
> I get the following link error:
> /usr/lib/libpq.so: Undefined reference to "crypt"
You need to add -lcrypt to your link command, probably. On some
platforms crypt() is part of regular libc, on some it comes in
a separate libcrypt library...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] Redhat 6.0 Link Error: Undefined Reference to crypt
1999-11-02 15:34 Redhat 6.0 Link Error: Undefined Reference to crypt Klein, Robert <rvklein@ober.com>
@ 1999-11-05 03:59 ` De Moudt Walter <wdemoudt@planetinternet.be>
1 sibling, 0 replies; 3+ messages in thread
From: De Moudt Walter @ 1999-11-05 03:59 UTC (permalink / raw)
To: Klein, Robert <rvklein@ober.com>; pgsql-sql
Robert,
I got the same message after running X. I re-installed my RedHat without
postgreSQL, created a user postgres, downloaded the latest version of
postgresql (a couple of days ago)- redhat 6.0 RPM version, and
everything seems to work well (for) now...
Hope it helps,
ps. The updated libraries when installing both the server and client
package are :
files:
libecpg.so.3.0.0
libpq.so.2.0
libpq++.so.3.0
links:
libecpg.so
libecpg.so.3
libpq.so
libpq.so.2
libpq++.so
libpq++.so.3
All residing in /usr/lib.
So if you don't install the development packages, it's not that
difficult to restore the links and files after un-installing Postgres.
That is, if you take notes before installing it... :-)
Wish you luck,
De Moudt Walter
"Klein, Robert" wrote:
>
> I'm trying to compile a program on Redhat 6.0 with the Postgres 6.4 the came
> with it.
> I get the following link error:
> /usr/lib/libpq.so: Undefined reference to "crypt"
> Does postgres need a difference libc or glibc? Redhat comes with:
> libc 5.3.13
> glibc 2.1.1
>
> Thanks!
>
> Rob Klein
> System Administrator
> Ober, Kaler, Grimes and Shriver
> 120 East Baltimore St
> Baltimore, MD 21202
>
> ************
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1999-11-05 03:59 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-11-02 15:34 Redhat 6.0 Link Error: Undefined Reference to crypt Klein, Robert <rvklein@ober.com>
1999-11-02 19:09 ` Tom Lane <tgl@sss.pgh.pa.us>
1999-11-05 03:59 ` De Moudt Walter <wdemoudt@planetinternet.be>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox