Install problem 6.5.3

From: Kev Buckley <k(dot)buckley(at)lancaster(dot)ac(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Install problem 6.5.3
Date: 2000-01-12 14:33:11
Message-ID: 200001121433.OAA00991@unixa.lancs.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

Your name : Kevin Buckley
Your email address : k(dot)buckley(at)lancaster(dot)ac(dot)uk

System Configuration
---------------------
Architecture (example: Intel Pentium) : SUN Ultra-60

Operating System (example: Linux 2.0.26 ELF) : Solaris 7

PostgreSQL version (example: PostgreSQL-6.5.3): PostgreSQL-6.5.3

Compiler used (example: gcc 2.8.0) : gcc-2.95.2

Please enter a FULL description of your problem:
------------------------------------------------

We have the GNU readline library outside of the "system" directories,
in /usr/local/packages/readline.
Attempting to tell configure where to find the includes and libs by use
of --with-include= and --with-lib= works except that when the OBDC interface
is being made the expected -L directive is not passed into that directory's
make environment and the making of libpsqlodbc.so.0.25 fails thus

ld -G -o libpsqlodbc.so.0.25 info.o bind.o columninfo.o connection.o convert.o
drvconn.o environ.o execute.o lobj.o misc.o options.o pgtypes.o psqlodbc.o
qresult.o results.o socket.o parse.o statement.o gpps.o tuple.o tuplelist.o
dlg_specific.o -lgen -lcrypt -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -ldl -lsocket -lresolv -lnsl -lm -lc
ld: fatal: library -lreadline: not found

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Try placing the readline library outside of the "system" area
and configuring as detailed above

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Compiling by hand created the library and allowed a full compilation
but I guess that the real answer is to:

Fix the Makefiles to percolate the -L directive down into the ODBC
interface Makefiles. Reference is made to a LDFLAGS_ODBC within there.

Apologies for not being able to look further into this at this time,
Kevin

--
Regards,

----------------------------------------------------------------------
* Kevin M. Buckley e-mail: K(dot)Buckley(at)lancaster(dot)ac(dot)uk *
* *
* Systems Administrator *
* Computer Centre *
* Lancaster University Voice: +44 (0) 1524 5 93718 *
* LANCASTER. LA1 4YW Fax : +44 (0) 1524 5 25113 *
* England. *
* *
* My PC runs Linux/GNU, you still computing the Bill Gate$' way ? *
----------------------------------------------------------------------

Browse pgsql-bugs by date

  From Date Subject
Next Message dLux 2000-01-13 17:06:02 Cannot Dump the Database. This is a pg_dump (or backend bug)
Previous Message mpg4 2000-01-12 06:25:33 Create rule weirdness