X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BP,TW_TD,TW_YG
X-Spam-Check-By: sourceware.org
X-Received: by 10.50.77.230 with SMTP id v6mr317903igw.11.1357708833660;        Tue, 08 Jan 2013 21:20:33 -0800 (PST)
Date: Tue, 8 Jan 2013 23:20:38 -0600
From: Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>
To: cygwin@cygwin.com
Subject: Re: postgres initdb: error while loading shared libraries: ?
Message-ID: <20130108232038.667d5301@YAAKOV04>
In-Reply-To: <50ECF59A.2010502@cs.utoronto.ca>
References: <50ECF59A.2010502@cs.utoronto.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 08 Jan 2013 20:44:10 -0800, Ryan Johnson wrote:
> The error message is:
> > $ initdb -D /usr/share/postgresql/data
> > /usr/sbin/initdb.exe: error while loading shared libraries: ?: cannot 
> > open shared object file: No such file or directory
> 
> Any ideas? I can't reproduce it on my own machine. Running cygcheck on 
> /usr/sbin/initdb give very normal-looking results, and BLODA checks are 
> coming up empty. Is there something obviously wrong in my instructions? 
> Or should I have them send their cygcheck output and let folks on the 
> list try to diagnose the problem?

cygcheck output would be helpful, as always, but my wild guess is that
they have the wrong, or more than one, libpq installed.  If
I'm right, reinstalling libpq5 should fix this.


Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

