Hi Steinar! Steinar H. Gunderson [2005-09-12 2:45 +0200]: > /usr/lib/postgresql/8.1/bin/initdb: error while loading shared libraries: > libpq.so.4: cannot open shared object file: No such file or directory > Error: initdb failed > [...] > Looks like postgresql-client-8.1 is missing a dependency on the right > libraries (libpq4?).
No, I don't think so: Both postgresql-8.1 and postgresql-client-8.1 depend on libpq4. Which version of libpq4 do you have installed? Can you please do ldd /usr/lib/postgresql/8.1/bin/initdb | grep libpq ? You should have /usr/lib/libpq.so.4. Can you please check these things? Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org
signature.asc
Description: Digital signature