Thread

  1. Unable to Create User

    Jimi Thompson <jthompson@link.com> — 2000-12-14T20:39:34Z

    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
  2. Re: Unable to Create User

    Thomas Good <tomg@q8.nrnet.org> — 2000-12-14T21:45:09Z

    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
    --------------------------------------------------------------------
    
    
    
  3. Re: Unable to Create User

    Thomas Good <tomg@q8.nrnet.org> — 2000-12-14T21:46:39Z

    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
    --------------------------------------------------------------------