Обсуждение: Unable to Create User

Поиск
Список
Период
Сортировка

Unable to Create User

От
"Jimi Thompson"
Дата:
Every time I try to create a user I get the following:

createuser: creation of user "teacup" failed
callmaster% /usr/local/pgsql/bin/createuser
Enter name of user to add: bob
Shall the new user be allowed to create databases? (y/n) n
Shall the new user be allowed to create more new users? (y/n) n
ld.so.1: /usr/local/pgsql/bin/psql: fatal: libpq.so: open failed: No
such file o
r directory
Killed
createuser: creation of user "bob" failed

Any ideas?  I'm probably overlooking something with an amazingly large
DUH factor.....

TIA,

Jimi

Вложения

Re: Unable to Create User

От
Thomas Good
Дата:
On Thu, 14 Dec 2000, Jimi Thompson wrote:

> Every time I try to create a user I get the following:
> ld.so.1: /usr/local/pgsql/bin/psql: fatal: libpq.so: open failed: No

# ldconfig

Might help if you haven't done so already.  Maybe your linker
can't find the obj code (libpq.so).

Presumably it is in /usr/local/pgsql/lib

--------------------------------------------------------------------
               SVCMC - Center for Behavioral Health
--------------------------------------------------------------------
Thomas Good                          tomg@ { admin | q8 } .nrnet.org
IS Coordinator / DBA                 Phone: 718-354-5528
                                     Fax:   718-354-5056
--------------------------------------------------------------------
Powered by:  PostgreSQL     s l a c k w a r e          FreeBSD:
               RDBMS       |---------- linux      The Power To Serve
--------------------------------------------------------------------


Re: Unable to Create User

От
Thomas Good
Дата:
On Thu, 14 Dec 2000, Jimi Thompson wrote:

> Every time I try to create a user I get the following:
>
> ld.so.1: /usr/local/pgsql/bin/psql: fatal: libpq.so: open failed: No

Sorry Jimi, it's late in my day...

Add /usr/local/pgsql/lib to /etc/ld.so.conf
and then run

# ldconfig


--------------------------------------------------------------------
               SVCMC - Center for Behavioral Health
--------------------------------------------------------------------
Thomas Good                          tomg@ { admin | q8 } .nrnet.org
IS Coordinator / DBA                 Phone: 718-354-5528
                                     Fax:   718-354-5056
--------------------------------------------------------------------
Powered by:  PostgreSQL     s l a c k w a r e          FreeBSD:
               RDBMS       |---------- linux      The Power To Serve
--------------------------------------------------------------------