Skip site navigation (1) Skip section navigation (2)

Solaris7 Install Error

From: Kev Buckley <k(dot)buckley(at)lancaster(dot)ac(dot)uk>
To: pgsql-ports(at)postgresql(dot)org
Subject: Solaris7 Install Error
Date: 2000-01-12 16:59:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
                        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 fails thus

ld -G  -o 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 creates the library and allows 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.
Perhaps this is not tied to the top-level LDFLAGS ?

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


*  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 ?   *

pgsql-ports by date

Next:From: Paul YaskowskiDate: 2000-01-12 22:13:03
Subject: Ultrix/VAX
Previous:From: chang hungDate: 2000-01-11 12:38:42
Subject: Some problem occur when I use postgres with AOLserver

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group