X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_TD,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <50ECF59A.2010502@cs.utoronto.ca> Date: Tue, 08 Jan 2013 20:44:10 -0800 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: postgres initdb: error while loading shared libraries: ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi all, I've had several students report difficulties installing postgresql under cygwin yesterday and today. They are starting with a brand new cygwin install, with the following packages beyond the defaults: o cygrunsrv: NT/W2K service initiator o libxml2: GNOME XML library o postgresql: PostgreSQL Data Base Management System o postgresql-client: Front-end programs for PostgreSQL o postgresql-dev: Development files for PostgreSQL o python: Python language interpreter o sqlite3: An embeddable SQL database engine o wget: Utility to retrieve files from the WWW via FTP and HTTP They're instructed to run / usr/bin/cygserver-config from an administrator mintty, and then to follow the "easy impatient" instructions in /usr/share/doc/Cygwin/postgresql-8.2.11.README 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? Thanks, Ryan -- 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