delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/08/23:45:43

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 <ryan DOT johnson AT cs DOT utoronto DOT ca>
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" <cygwin AT cygwin DOT com>
Subject: postgres initdb: error while loading shared libraries: ?
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019