Re: Pg 8.3.6 installation

From: Isabella Ghiurea <isabella(dot)ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Pg 8.3.6 installation
Date: 2009-02-17 20:57:55
Message-ID: 499B24D3.1000705@nrc-cnrc.gc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Ray,

Thank you , that was the rpm I was missing ( DEVEL), now I 'm getting
zlib missing , BUT is there ...Do I need a special flavor also ?
rpm -qa zlib
zlib-1.2.3-3
zlib-1.2.3-3
checking for library containing shmget... none required
checking for -lreadline... yes (-lreadline -ltermcap)
checking for inflate in -lz... no
configure: error: zlib library not found
If you have zlib already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-zlib to disable zlib support.

Ray Stell wrote:
>
> do you have dev installed?
>
> $ rpm -qa | grep readline-dev
> readline-devel-5.1-1.1
>
>
> On Tue, Feb 17, 2009 at 12:06:17PM -0800, Isabella Ghiurea wrote:
> > Trying to compile Postgres 8.3.6 and configure fails with readline lib
> > missing, I have readline installed , please see all info bellow,
> > OS: Linux RHES x-64 bits installation.
> >
> > postgresql-8.3.6$ locate readline
> > /usr/lib/libreadline.so.5
> > /usr/lib/libreadline.so.5.1
> > /usr/lib64/libreadline.so.5
> > /usr/lib64/libreadline.so.5.1
> > /usr/lib64/python2.4/lib-dynload/readline.so
> > /usr/share/info/readline.info.gz
> > /usr/share/man/man3/readline.3.gz
> >
> /usr/share/systemimager/boot/i386/standard/initrd_template/lib/libreadline.so.5
> >
> /usr/share/systemimager/boot/i386/standard/initrd_template/lib/bittorrent/readline.so
> > /usr/share/vim/vim70/ftplugin/readline.vim
> > /usr/share/vim/vim70/indent/readline.vim
> > /usr/share/vim/vim70/syntax/readline.vim
> >
> > postgresql-8.3.6$ ./configure --prefix /var/lib/postgres8_3_6/
> >
> --with-libraries=/usr/lib64/libreadline.so.5.1:/usr/lib/libreadline.so.5:/usr/share/:/usr/src/
> > --with-includes=/usr/lib64/:/usr/lib/:/usr/share/:/usr/src/
> --enable-debug
> >
> >
> > checking for main in -lm... yes
> > checking for library containing setproctitle... no
> > checking for library containing dlopen... -ldl
> > checking for library containing socket... none required
> > checking for library containing shl_load... no
> > checking for library containing getopt_long... none required
> > checking for library containing crypt... -lcrypt
> > checking for library containing fdatasync... none required
> > checking for library containing shmget... none required
> > checking for -lreadline... no
> > checking for -ledit... no
> > configure: error: readline library not found
> > If you have readline already installed, see config.log for details
> on the
> > failure. It is possible the compiler isn't looking in the proper
> directory.
> > Use --without-readline to disable readline support.
> >
> >
> > --
> > Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-admin
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2009-02-17 21:01:18 Re: Pg 8.3.6 installation
Previous Message Peter Hinse 2009-02-17 20:54:59 lseek