Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id A5A626330F0 for ; Tue, 17 Feb 2009 16:30:59 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 97095-03 for ; Tue, 17 Feb 2009 16:30:54 -0400 (AST) X-Greylist: delayed 00:07:03.380141 by SQLgrey-1.7.6 Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mail.postgresql.org (Postfix) with ESMTP id F01F56330A5 for ; Tue, 17 Feb 2009 16:30:53 -0400 (AST) Received: by bwz18 with SMTP id 18so5506123bwz.19 for ; Tue, 17 Feb 2009 12:30:51 -0800 (PST) Received: by 10.223.107.9 with SMTP id z9mr3432255fao.1.1234902226295; Tue, 17 Feb 2009 12:23:46 -0800 (PST) Received: from ?192.168.1.21? (vpn1-c119.Voronezh.golden.ru [212.46.244.119]) by mx.google.com with ESMTPS id 35sm10454437fkt.23.2009.02.17.12.23.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Feb 2009 12:23:45 -0800 (PST) From: Vladimir Rusinov To: pgsql-admin@postgresql.org, isabella.ghiurea@nrc-cnrc.gc.ca Subject: Re: Pg 8.3.6 installation Date: Tue, 17 Feb 2009 23:23:40 +0300 User-Agent: KMail/1.9.10 References: <499B18B9.7060405@nrc-cnrc.gc.ca> In-Reply-To: <499B18B9.7060405@nrc-cnrc.gc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902172323.40256.vladimir@greenmice.info> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.461 tagged_above=0 required=5 tests=URIBL_BLACK=1.961, URI_NOVOWEL=0.5 X-Spam-Level: ** X-Archive-Number: 200902/127 X-Sequence-Number: 31348 On Tuesday 17 February 2009 23:06:17 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/r >eadline.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:/u >sr/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. Check config.log to find what's wrong. BTW why do you need debug? Also, you might want to use rpms from pgsqlrmps: http://yum.pgsqlrpms.org/ -- Vladimir Rusinov http://greenmice.info/