postgres initdb: error while loading shared libraries: ?

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed Jan 9 05:20:00 GMT 2013


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



More information about the Cygwin mailing list