From: Constantin Teodorescu <teo@flex.ro>
To: Jackson, DeJuan <djackson@cpsgroup.com>
Cc: Brett W. McCoy <bmccoy@lan2wan.com>
Cc: pgsql-questions@postgreSQL.org, PostgreSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] RE: [QUESTIONS] pgaccess
Date: Wed, 06 May 1998 20:49:25 +0300
Message-ID: <3550A2A5.1AD2901@flex.ro> (raw)
References: <F10BB1FAF801D111829B0060971D839F2716E6@dal_cps.cpsgroup.com>
> I'm a little confused about the libraries pgaccess is supposed to be
> using, and the directions that came with it don't make much sense.
> The
> application wants libpgtcl.so and libpq.so, but these don't exist on
> my
> system after compiling and installing postgreSQL 6.3.2. The
> instructtions
> provide these libraries for Red Hat 4.2, but nothing for Red Hat 5
> (which
> I am running). What's the deal? Is there something obvious I'm
> missing?
> The 4.2 libraries tell me 'crypt' is an undefined symbol when trying
> to load.
Yes. PgAccess need libpgtcl.so and libpq.so to be in the system /lib
directory.
PostgreSQL 6.3.2 had a little bug that was quickly fixed. He didn't
define LINUX_ELF and the Makefile refused to generate the shared
libraries (so).
A quick patch is to edit those Makefile's in src/interfaces/libpq and
src/interfaces/libpgtcl.so and insert a single line at the begining
LINUX_ELF = true.
Also, I understood that an official patch for this bug has been
released.
In RedHat 5.0, they decided to move the crypt function used by postgres
from the libc library to a separate library libcrypt.so You will need
to add -lcrypt when linking libpgtcl.
Please let me know if you have solved the problem.
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: teo@flex.ro, djackson@cpsgroup.com, bmccoy@lan2wan.com
Subject: Re: [INTERFACES] RE: [QUESTIONS] pgaccess
In-Reply-To: <3550A2A5.1AD2901@flex.ro>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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